Okay, so i'm seeing a very bizarre issue with results from queries to the database.
I make a simple query such as:
SELECT foo FROM thetable WHERE id = 1
I run the query and then store the results as so:
$row = mysql_fetch_assoc($result);
for testing purposes i print_r($row) to see what i'm looking at. the result i get is this:
Array(
[#B] => some value
)
The metadata (at least i think that is what it is called) is incorrect, in most cases it would be:
Array(
[foo] => some value
)
Has anyone see this before? The same scripts worked fine before migrating to php5. Any help would be great.