View Single Post
Old 06-09-2009, 01:32 AM   #1 (permalink)
Randy
The Acquainted
 
Randy's Avatar
 
Join Date: May 2007
Location: Your G/F's Closet
Posts: 114
Thanks: 7
Randy is on a distinguished road
Default Custom Error Messages?

Alright so i know the if and else features stuff but im trying to do something that is different, idk if this should go into the mysql area or not so i just put it here.

I am connecting to my database

PHP Code:
mysql_connect($hostname$username$password) or die(mysql_error()); mysql_select_db($databasename); 
however I am curious how would i go about including like a dberror.html file for the error like vbulletin does. I was trying to find out how they do it but i cant find the file where they connect to the database.

Cheers,
Randy
__________________
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25 - Andrew Rutherford
Send a message via AIM to Randy Send a message via MSN to Randy
Randy is offline  
Reply With Quote