Re: mysql_fetch_array and row referencing under 4.0.4pl1
| From: | Steve Werby | Date: | Tue, 13 Feb 2001 04:19:02 +0000 |
| Subject: | Re: mysql_fetch_array and row referencing under 4.0.4pl1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39334@lists.php.net to get a copy of this message | ||
"Scott Brown" <scott-brown@home.com> wrote:
> $row["this_is_a_field_name"]
>
> Seems simple, right?
>
> Well - I compiled a new copy of Apache 1.3.17, pushed PHP up to 4.0.4pl1,
> and upgraded mysql to the new stable version at the same time...
>
> Now the above code doesnt work. But if I do a:
Forgot to ask - does referencing an array with double quotes around the key
work for arrays not associated with a MySQL result? I doubt it's specific
to MySQL result arrays, but it doesn't hurt to check. Make a small array
and test.
--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/