Hello Reader.
Again I am lost in the sauce. I've thus far managed to install PHP,and MYSQL (a major accomplishment for me.) And I've even gotten the 2 programs to talk to eachother.
But now I get this error on a simple connect to database script.
Please help.
This is the code.
<html>
<title>Database Connection Attempt</title>
<head>
</head>
<body>
<?php
$dbcnx = @mysql_connect("localhost", "php", "password");
if (!$dbcnx) {
echo( "<p>Unable to connect to the " .
"database server at this time.</p>" );
exit();
?>
</body>
</html>
This is the Error I get.
PHP Parse error: syntax error, unexpected $end in c:\Inetpub\wwwroot\dbcnx.php on line 16
r/s
Newbie1