RE: [PHP] MySQL result to Associative array
| From: | Marco Tabini | Date: | Mon, 21 Oct 2002 14:03:53 +0000 |
| Subject: | RE: [PHP] MySQL result to Associative array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120733@lists.php.net to get a copy of this message | ||
Just out of curiosity, can you try replacing as follows:
mysql_fetch_array ($md_result, MYSQL_BOTH);
and then
echo $myarray[0];
On Mon, 2002-10-21 at 10:06, Tony Crockford wrote:
> >
> >
> > Can you: echo $myarray[1];
> >
> > that is, no quotes around 1?
>
> no, nothing output to screen.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>