日期:2011-11-21  浏览次数:20438 次

PHP操作数据库时自动创建字段,如下代码:

  1. <html> 
  2. <head> 
  3. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
  4. <title>动态创建字段 - www.cxybl.com</title> 
  5. <style type="text/css"> 
  6. <!-- 
  7. .STYLE1 {font-size: 12px} 
  8. --> 
  9. </style> 
  10. </head> 
  11.  
  12. <body> 
  13. <form id="form1" name="form1" method="post" action="index_ok.php"> 
  14.   <table width="467" height="289" border="0" cellpadding="0" cellspacing="0"> 
  15.     <tr> 
  16.       <td width="168" height="89"> <