trigger_error ($error_string, e_user_error);
}
require 'db.php';
pear::seterrorhandling (pear_error_callback, 'pear_error_handler');
// force an error
$db = db::connect('pgsql://postgres@localhost/no_db');
...?>
trigger_error ($error_string, e_user_error);
}
require 'db.php';
pear::seterrorhandling (pear_error_callback, 'pear_error_handler');
// force an error
$db = db::connect('pgsql://postgres@localhost/no_db');
...?>