PHP Error: mysql_fetch_array() expects parameter 1 to be resource, boolean given
I'm very confused with this error, it shows when I try to return a result from the DB that doesn't exist ... I tried
mysql_num_rows() but it returns the same error but instead of
mysql_fetch_assoc expects ... it says
mysql_num_rows() expects ...
error_reporting(0) to avoid showing this error, but I'm not satisfied with this solution ...