kevinkhan
11-24-2010, 10:25 AM
im getting this error when i run a script
mysql_query(): supplied argument is not a valid MySQL-Link resource
what do i have to do to echo out the actual error and what line its on like this
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/www/ikhelper.freehostia.com/globinc/loginfunc.php on line 87
iv tried inserting error_reporting(E_ERROR | E_WARNING | E_PARSE); and
error_reporting(-1);
but doesnt output any error :(
mysql_query(): supplied argument is not a valid MySQL-Link resource
what do i have to do to echo out the actual error and what line its on like this
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/www/ikhelper.freehostia.com/globinc/loginfunc.php on line 87
iv tried inserting error_reporting(E_ERROR | E_WARNING | E_PARSE); and
error_reporting(-1);
but doesnt output any error :(