RE: Could get all data from MYSQL using Mysql_fetch_array!!
| From: | Andrew Chase | Date: | Thu, 30 Aug 2001 15:39:19 +0000 |
| Subject: | RE: Could get all data from MYSQL using Mysql_fetch_array!! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11991@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Andrew Chase [mailto:andrew.chase@valleypres.org]
> Or you could do it longhand -
>
> while ($row= mysql_fetch_array($result,MYSQL_ASSOC))
> {
> print ("{$row["Reason"]}");
> print ("{$row["OtherField1]}");
> print ("{$row["OtherField2]}");
> }
>
Whoa! Correction there - I forgot the end quotes after "OtherField1 and
"OtherField2
:P
-Andy