日期:2011-11-20  浏览次数:20521 次

PHP通过ADO方式连接Access数据库,如下代码:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
  3. <html xmlns="http://www.w3.org/1999/xhtml"> 
  4. <head> 
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
  6. <title>通过ADO方式连接ACCESS数据库 - www.cxybl.com</title> 
  7. <link rel="stylesheet" type="text/css" href="style.css"> 
  8. <style type="text/css"> 
  9. <!-- 
  10. .STYLE1 {color: #FFFFFF} 
  11. --> 
  12. </style> 
  13. </head> 
  14. <?php 
  15. include_once("conn.php"); 
  16. ?> 
  17. <body topmargin="0" leftmargin="0" bottommargin="0"> 
  18. <table width="300" border="0" align=