Here is my question ..Can anyone tell me details about the parameter and how to resolve these types of problems ?
Warning: mysql_fetch_array() expects parameter 1 to be resource,
boolean given in C:\wamp\www\bakeism\admin\manage-ads-cat.php
Thanks & Regards
This error means your query is getting failed (something goes wrong in your query) & mysql_query has return FALSE
. Always have practice of mysql_error which will show you exact error in your query if any.
mysql_query(...) or die(mysql_error());
Note: Please, don't use mysql_*
functions in new code. They are no longer maintained and are officially deprecated. See the red box? Learn about prepared statements instead, and use PDO, or MySQLi - this article will help you decide which. If you choose PDO, here is a good tutorial.