Parse error: parse error, unexpected T_VARIABLE in line 5

Codes here !

Moderators: macek, egami, gesf

Post Reply
liquedus
php-forum Active User
php-forum Active User
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada
Contact:

Post by liquedus » Mon Jun 23, 2003 6:53 pm

<body>
hello <?php echo "<p>hello world</p>"?>
<?php <-- This had a space
$connect = mysql_connect('localhost', 'root','');
if ($connect==FALSE) {
print "Database connection failed";
exit;
}


?>
</body>
</html>

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests