what's wrong with this code i'm getting the error UNEXPECTED T_STRING.. on line 7
if(!$query)
{
die("Unable to enter into database");
}
elseif
header("location:/Peach Mansions/confirm.php");
}
else
{
echo 'a required field is missing';
}
?>