However, an error is coming up
with the source code I made:
$SERVER ="yoongda.com";
$USERNAME ="yoongda";
$PASSWORD ="******";
$conn= mysql_connect($SERVER,$USERNAME,$PASSWORD );
if (! $conn)
{
//Can not connect to the Database, Report error
die ('Connection Error'.mysql_error());
} else
{
echo('Database is connected');
}
//end If
//Closing the connection
mysql_close($conn);
No comments:
Post a Comment