Re: double values in array
| From: | Tom Beidler | Date: | Thu, 13 Sep 2001 15:31:23 +0000 |
| Subject: | Re: double values in array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67234@lists.php.net to get a copy of this message | ||
MYSQL_ASSOC did the trick.
Thanks
> From: Andrew Perevodchik <ok@naverex.kiev.ua>
> Reply-To: Andrew Perevodchik <ok@naverex.kiev.ua>
> Date: Thu, 13 Sep 2001 08:10:52 +0300
> To: Tom Beidler <tom@orbittechservices.com>
> Cc: php list <php-general@lists.php.net>
> Subject: Re: [PHP] double values in array
>
> Hello! You wrote:
>
> TB> What am I doing wrong?
>
> You should use this line:
> $y = mysql_fetch_array ($getrec_result, MYSQL_ASSOC);
>
> --
> Andrew Perevodchik
> ok@naverex.kiev.ua
>
>