mySQL query returning Resource id #5
I’ve searched about possible solutions to this. and I’ve tried looping as well as trying the variants of mysql_fetch_assoc and mysql_fetch_array but I’m still getting the Resource id #5: 0: error.
I’ve searched about possible solutions to this. and I’ve tried looping as well as trying the variants of mysql_fetch_assoc and mysql_fetch_array but I’m still getting the Resource id #5: 0: error.
I’m using FQL to retrieve a list of users from Facebook. For consistency I get the result as JSON. This causes a problem – since the returned JSON encodes the user IDs as numbers, json_decode() converts these numbers to floating point values, because some are too big to fit in an int; of course, I need these IDs as strings.