note 38412 deleted from function.msql-fetch-row by nlopess
| From: | nlopess@php.net | Date: | Fri, 19 Dec 2003 16:42:36 +0000 |
| Subject: | note 38412 deleted from function.msql-fetch-row by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62246@lists.php.net to get a copy of this message | ||
Note Submitter: durandal20@wp.pl
----
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>";
}