Mon Oct 27, 2008 12:50 pm
<?php
$db_conn = mysql_connect ("imaginaryhost", "java2s", "password");
// If no db connection, exit script
if(!$db_conn)
{
print("<b>I could not connect to the database! :(</b><br />");
print("This script will now exit<br />");
exit;
}
mysql_close($db_conn);
?
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.