I created a list in PHP, but for some reason the "}" appears every time a new data is added to the list, what can I do to remove that bracket? Home Note: When I try to remove the "}" from line 35 PHP returns me with this error
Parse error: syntax error, unexpected end of file in C: \ Program Files (x86) \ EasyPHP-Devserver-17 \ eds-www \ Student_Page \ con_aluno.php on line 35
PHP
<!DOCTYPEhtml><html><head><metacharset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Con - Aluno</title>
<link rel="stylesheet" href="">
</head>
<body>
<table>
<tr>
<th>RM</th>
<th>Nome</th>
<th>Email</th>
<th>TurmaID</th>
</tr>
<?php
include_once("conexao.php");
$select = 'Select * from aluno order by Nome DESC';
$sql = mysqli_query($conn,$select);
$lista = 0;
while($dado = mysqli_fetch_array ($sql))
{
$lista++;?>
}
<tr>
<td><?php echo $dado['RM'];?></td>
<td><?php echo $dado['Nome'];?></td>
<td><?php echo $dado['Email'];?></td>
<td><?php echo $dado['Turma_ID'];?></td>
</tr>
<?php }?>
</table>