note 38932 added to function.mysql-fetch-row
| From: | slick at bogwell dot com | Date: | Mon, 12 Jan 2004 19:27:51 +0000 |
| Subject: | note 38932 added to function.mysql-fetch-row | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63362@lists.php.net to get a copy of this message | ||
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>";
}
----
Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-row.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38932
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38932&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38932&report=yes
Search -- http://master.php.net/manage/user-notes.php