echo "<table>\n" ;while ( $line = mysql_fetch_array ( $result , MYSQL_ASSOC )) { echo "\t<tr>\n" ; foreach ( $line as $col_value ) { echo "\t\t<td> $col_value </td>\n" ; } echo "\t</tr>\n" ;}echo "</table>\n" ;
相关分类