Jump to content

Error reporting problem


kevinkhan

Recommended Posts

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 :(

Link to comment
https://forums.phpfreaks.com/topic/219670-error-reporting-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.