ERROR: mysql_fetch_assoc() expects parameter 1 to be resource
The error “mysql_fetch_assoc() expects parameter 1 to be resource” can be associated with several factors with which PHP will access the Database, to identify the specific error use the following command. Ex: Solution to identify the specific error of the query $query = “SELECT *…”; $query = mysql_query($query); if (!$query) { die(mysql_error()); }…