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....





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to