Hi,
I have the following error:
Parse error: parse error, unexpected T_IF in d:\Program Files\Abyss Web Server\htdocs\html\guestbook.php on line 10
I'm trying to execute the following: (password and username have been changed for security)
<HTML>
<HEAD><TITLE>SIMPSONVILLE.NET - GUESTBOOK</TITLE><HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<?php
$username = "root";
$password = "1234567";
$host = "localhost";
$database = "guestbook";
$dbcnx = @mysql_connect($host, $username, $password)
if (!$dbcnx) {
echo( "<P>Unable to connect to the " .
"database server at this time.</P>" );
exit();
}
?>
What am I doing wrong?
Thanks





Bookmarks