/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$hostname_logon = "xxxxxx"; $database_logon = "xxxxxx"; $username_logon = "xxxxxx"; $password_logon = "xxxxxx"; //open database connection $connections = mysql_connect($hostname_logon, $username_logon, $password_logon) or die or die( "Error! Could not logon: " . mysql_error() ); //select database mysql_select_db($database_logon) or die or die( "Error! Could not select the database: " . mysql_error() );
Comments
