coding help wut does this mean
Moderator: General Moderators
-
rashawn116
- Forum Newbie
- Posts: 5
- Joined: Wed Aug 12, 2009 3:43 am
coding help wut does this mean
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
- iankent
- Forum Contributor
- Posts: 333
- Joined: Mon Nov 16, 2009 4:23 pm
- Location: Wales, United Kingdom
Re: coding help wut does this mean
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
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