i have a php page
While running it will display following messages
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'test'@'localhost' (using password: NO) in test_step2.php on line 64
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in test_step2.php on line 64
Notice: Undefined variable: exists in test_step2.php on line 341
I want to avoid the displaying of these messages
I have no access to php.ini file
i have tried the following code one by one to avoid the displaying of these messages
error_reporting(0)
ini_set('display_errors',0);
error_reporting(E_NONE);
but no use
Can any one help me to avoid the display of these messages