RE: [PHP] Why while doesn't work?
| From: | Matt Schroebel | Date: | Thu, 24 Jan 2002 14:49:32 +0000 |
| Subject: | RE: [PHP] Why while doesn't work? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81886@lists.php.net to get a copy of this message | ||
If you only want the associative array, just use mysql_fetch_array($result). If you're using
the constant MYSQL_ASSOC, uppercase it, and don't quote it.
>Although the table con_inf in db sbwresearch contains 3 records with
>username as the first column, the following short script generates a blank
>page:
>mysql_fetch_array($result_1,"mysql_assoc"))