Page 1 of 1

coding help wut does this mean

Posted: Sat Nov 21, 2009 7:06 pm
by rashawn116
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/38/5225538/html/shop/includes/php/functions.php on line 29

Re: coding help wut does this mean

Posted: Sat Nov 21, 2009 7:25 pm
by iankent
Without seeing line 29 its difficult to say, but generally it means either the query hasn't been executed (with mysql_query()), or the result returned isn't valid (usually an error in your query)

just after your call to mysql_query() add a line to output the value of mysql_error(). that'll give you extra info from mysql to tell you whats wrong.

hth