I'm getting a syntax error
Parse error: syntax error, unexpected 'text' (T_STRING) in C:... line 18.
I don't exactly know why I am getting this error. The sooner the response the better. Thank you very much.
<?php
session_start();
?>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Login</title>
</head>
<body>
<div align="center">
<img src="logo.png" alt="school logo">
<h2>login</h2>
<?php
$form="<form action='./login.php' method='post'>
<table>
<tr>
<td>Email:</td>
<td>input type="text" name:"Email"/></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="text" name:"Password"/></td>
</tr>
<tr>
<td><</td>
<td><input type="submit" name="loginbtn" value="login"/></td>
</tr>
</table>
</form>";
if ($_POST['loginbtn']){
$email=$_POST["email"];
$Password=$_POST["Password"];
if($email){
if($Password){
}
else
echo"you must enter your password .$form";
}
else
echo "you must enter your email .$form";
}
else
echo"";
?>
</div>
</body>
</html>