Mon Oct 27, 2008 11:53 pm
<?php
try {
$conn = mysql_connect("localhost","username","password");
if (! $conn) {
throw new Exception("Could not connect!");
}
}
catch (Exception $e) {
echo "Error (File: ".getFile().", line ".$e->getLine()."): ".$e->getMessage();
}
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.