( ! ) Parse error: syntax error, unexpected T_ECHO in C:\wamp\www\Tutorial\reguser.php on line 15
This is the area of coding that is the problem, but I dont see what's wrong.
<?php
include 'connect.php';
?>
<?php
$player=$_POST['player'];
$password=$_POST['password'];
$password2=$_POST['password2'];
$player=strip_tags($player);
$email=$_POST['email'];
$email=strip_tags($email);
if ($email == "")
(
echo "You didn't enter an email address!<br>";
echo " <a href='register.php'>Go back</a>";
exit;
)
This is my 1st attempt to learn php but it seems that the ; isn't doing it's job in line 14...
Can someone please help me out here? Thank you very much!