Here is the Error:
Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /home/a7754873/public_html/reguser2.php on line 13
Here it is:
<?php
include 'connect.php';
?>
<?php
$player=$_POST['uname'];
$password=$_POST['password'];
$pass2=$_POST['password2'];
$player=strip_tags($player);
$email=$_POST['email'];
$email=strip_tags($email);
if $email =""
{
echo "You did not Enter an Email<br />";
echo "<a href="register.php">Go Back</a>";
exit;
}
if $password = $password2
{
$query = "INSERT INTO players (name, password, email, level, exper) VALUES ($player, $password, $email, 1, 0)";
mysql_query($query) or die ("Unable to register to databases");
header("Location: /login.php");
}
else
{
echo "Your password do not match<br />";
echo "<a href="register.php">Go back</a>";
exit;
}
?>
So, Yeah. What is Wrong?

