note 38932 deleted from function.mysql-fetch-row by tomsommer
| From: | tomsommer@php.net | Date: | Mon, 12 Jan 2004 19:30:33 +0000 |
| Subject: | note 38932 deleted from function.mysql-fetch-row by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63363@lists.php.net to get a copy of this message | ||
Note Submitter: slick@bogwell.com
----
I made this to spit out an array of any size, don't know if it is the best way but it werked
for me.
echo "<table border=\"1\">";
while ($row = mysql_fetch_row($query_result)) {
echo "<tr>";
foreach ($row as $column) {
echo "<td>$column</td>";
}
echo "</tr>";
}