NYCPHP Meetup

NYPHP.org

[nycphp-talk] Is there something wrong with this SQL query in PHP?

Carlos A Hoyos cahoyos at us.ibm.com
Tue Aug 14 16:07:46 EDT 2007


In case this wasn't clear...
> On quick inspection, function mysql_fetch_assoc only takes one
parameter...
> this might be a problem. mysql_fetch_assoc

Try Removing the second parameter from function mysql_fetch_assoc, i.e.
take out the MYSQL_ASSOC to read $row = mysql_fetch_assoc($result);

Carlos Hoyos




More information about the talk mailing list