<?php echo "<meta content-equiv= ' content-type ', content= ' text/html;
charset= ' utf-8 '/> ';
$id =$_post[' id '];
$password =$_post[' password '];
echo $id. $password;
$conn =mysql_connect ("localhost", "root", "");
mysql_query ("Set names UTF8") or Die (Mysql_errno ());
mysql_select_db ("Empmanage") or Die (Mysql_errno ()); $sql = "SELECT * from EMP";/In addition to the name query, you can obtain the name value//echo ' $sql = '. $sql. "
<br/> ";
$res =mysql_query ($sql, $conn);
echo "<table border= ' 1 ' width= ' >"; echo <tr><td> user id</td><td> user name </td><td> mail </td><td> Modify user </td
><td> Delete User </td</tr> "; if ($row =mysql_fetch_assoc ($res)) {echo <tr><td> user id</td><td> user name </td><td> message
</td><td> Modify User </td><td> Delete user </td</tr> "; echo "<tr>><td>{$row [' id ']}</td><td>{$row [' name ']}</td><td>{$row [' email '] ]}</td><td> Modify User </td><td> Delete user </tD></tr> "//Here is just love forget {} This error is not easy to check out.
echo "</table>";
Mysql_free_result ($res);
Mysql_close ($conn); ?>
Error message: Parse error:syntax error, unexpected ' (t_encapsed_and_whitespace), expecting identifier (t_string) or variable (t_variable) or number (t_num_string) in D:\xampp\htdocs\empmanage\emp.php on line 20