Name contains:
\n"; // Run the query $result = mysql_query($query,$db); // Print the table header echo "\n"; echo "\n"; // Print the data in our table while ($row = mysql_fetch_assoc($result)) echo "\n"; // Another way of printing the table /* while ($myrow = mysql_fetch_row($result)) printf("\n", $myrow[0], $myrow[1]); */ // A third way of printing the table /* while ($row = mysql_fetch_assoc($result)) { print "\t\n"; foreach ($row as $field) { print "\t\t\n"; } print "\t\n"; }*/ // Print the table footer echo "
ab
" . $row["columna"] . "" . $row["columnb"] . "
%s%s
$field
\n"; mysql_close($db); } ?>