Guys,
I'm new to PHP having been an ASP veteran for some years. I am hoping that you can point me in the right direction having spent a while searching to no avail.
I'm currently using this connection string...
<?PHP // ASH: Define the database connection string
$conn = mysql_connect('localhost','root','password) or trigger_error("SQL", E_USER_ERROR);
$db = mysql_select_db('db_NAMEHERE',$conn) or trigger_error("SQL", E_USER_ERROR);
?>
I'm hoping that somehow I can add to this string, so that the user gets redirected to a page that I designate if for any reason the Database or its server isn't reachable?
Many thanks in advance!
Cheers, @sh