I am trying to select data from a MySQL table, but I get one of the following error messages:
mysql_fetch_array() expects parameter 1 to be resource,
Go to your config.php. I had the same problem. Verify the username and the password, and also sql select is the same name as the config.
config.php