Web development, It is a commor error that every programmer face frequently. It is often occerred when programmer handle large number of code. It can happen to miss ending tag, semicolon (;), missing quotation, first bracket, second bracket or third bracket in a script.
sometime it is more irritive to indentify where the parse error occurred.
$sql = "SELECT * FROM users WHERE id = " . $q . ";
// missing ending second quotation
echo "<table border='1'><tr><th>Username</th><th>E-Mail</th><th>Info</th></tr";
// missing tr closing tag
echo "<form action=\"getuser2.php\" method=\"post\">";
while($row1 = mysqli_fetch_array($result1, MYSQLI_ASSOC)) {
echo "<td><input type=\"text\" name=\"info1\" value=" . $row1['uname'] . "></td>";
If you have any query comment bellow.