Re: mysql_fetch_array and row referencing under 4.0.4pl1

From: Date: Tue, 13 Feb 2001 04:14:44 +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-39332@lists.php.net to get a copy of this message
I'd be curious to see others' answers on this because I upgraded everything the other day (been at php4 for a while though) and I don't have a problem with the quotes. On 2/12/01 11:11 PM this was written: > Have I lost something somewhere? > > I have code which runs under PHP3.0.15, and PHP4.0.2 which references the > result of a > > $row = mysql_fetch_array($result_of_query); > > by doing things like: > > $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: > > $row[this_is_a_field_name] > > Then the code does work. > > Have I messed up something in the PHP configuration that doesnt allow these > quoted identifiers anymore? > > Or is this just a new (less-than-compatible) upgrade to PHP that I've missed > reading about?? > > Heeeeeeeeeeeeeeeeeelp me ... I dont want to have to rebuild all my sites > just because of these stupid quotes.... > -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

« previous php.general (#39332) next »