note 38412 added to function.msql-fetch-row
| From: | durandal20 at wp dot pl | Date: | Fri, 19 Dec 2003 16:42:01 +0000 |
| Subject: | note 38412 added to function.msql-fetch-row | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62244@lists.php.net to get a copy of this message | ||
Here is a simpler loop, that will view contains of table producers which consists of 2 rows
$query = "select * from producers";
$result = mysql_query($query);
while($row = mysql_fetch_row($result))
{
echo $row[0];
echo " ";
echo $row[1];
echo "<br>";
}
----
Manual Page -- http://www.php.net/manual/en/function.msql-fetch-row.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38412
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38412&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38412&report=yes
Search -- http://master.php.net/manage/user-notes.php