Error reporting

0 Arira joseph · July 25, 2015
I tried collecting the users info for display on my site using the mysql_fetch_assoc( );
On my browser I an error saying mysql_fetch_assoc( ) expected parameter 1 to be resource, boolean given.
Pls what does this means.

Post a Reply

Replies

Oldest  Newest  Rating
0 pwntastic _ · August 10, 2015
Hello, 

This means exactly what it says.  Whatever you passed into mysql_fetch_assoc() is not of the type it accepts.  This is sometimes caused by an error in the query.  Please include your code to better help you with this. 
  • 1

PHP

107,004 followers
About

Server-side, HTML embedded scripting language used to create dynamic Web pages.

Links
Moderators