function errorCheck($result){ if (!$result) { echo("
Error performing query: " . mysql_error() . "
"); exit(); } } $userid = "u70790512"; $passwd = "7076be"; $as_db = "d60721053"; $db = mysql_connect("auto-sporter.netfirmsmysql.com", $userid, $passwd); if ( !mysql_select_db($as_db, $db)){ echo( "Unable to locate the database at this time.
" ); exit(); } ?>