How could I check if the connection to a database was succesfull or not? $db=ibase_connect (...); allways return an object, and I dont know how to see if the connection was succesfully established or not (from code, of course I can see it on the browser with warning message...) I want to use header() to redirect to a error page(database down) in case of connection to database fails. Using :Apache 2, PHP4, Interbase, W2000 Server.
Thx 4 any help. --------------------------------------------------------- Benjamí Tauler [EMAIL PROTECTED] http://www.webpersonal.net/btauler "Everyone should carefully observe which way his heart draws him, and then choose that way with all his strength." - Hasidic Saying -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php