Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean.. HELP pls..
hey guys, i'm just a newbie in php..
i have just started learning and i'm confused.
i know my query is correct but i dont know why i'm getting this error at all..
here's the code.. 5.PNG
What that means at least 99% of the time is that your call to mysql_query() failed for some reason, so it returned a Boolean false instead of a query result resource. A quick and dirty way to debug it:
PS: If possible, you really should move on up to the MySQLi extension in PHP, as the old MySQL extension is considered to be deprecated, and as such may not be supported by future versions of PHP.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks