Parse Error help in PHP Coding Help Posted July 30, 2009 <?php $username $_POST['username']; $password $_POST['password']; if($username&$password) { $connect = mysql_connect ("localhost","Master","password")or die("Couldn't Connect"); mysql_select_db("Login")or die("Couldn't Connect"); } else { die ("Please enter a username and password"); } ?> Parse error: syntax error, unexpected T_VARIABLE in /home/ustackc1/public_html/Login.php on line 2 Can anyone help me out i tried different variations and checked but i keep on getting this error when i press the login button.
Parse Error help
in PHP Coding Help
Posted
Parse error: syntax error, unexpected T_VARIABLE in /home/ustackc1/public_html/Login.php on line 2
Can anyone help me out i tried different variations and checked but i keep on getting this error when i press the login button.