Parse error: syntax error, unexpected T_IF in /home/content/s/e/c/sectarian/html/bdon/farcry/login.php on line 6
I get this error every time i run it. Here is my code:
<?php
$username = #_POST['username'];
$password = #_POST['password'];
if ($username&&$password)
{
$connect = mysql_connect("localhost","root","") or die ("couldn't connect!");
mysql_select_db("phplogin") or die ("couldnt find db");
}
else
die("Please enter a username and a passwrod!");
?>
Bookmarks