0
I’m making a download area of records from a database using Dompdf, but as soon as I put the sql code and while to bring the database data, it gives a series of errors within a dompdf file.
As soon as I enter the sql code gives these errors, I tried to find and did not find... someone has gone through the same problem that knows how to solve?
<?php
include 'conexao.php';
$sql = "SELECT * FROM `beneficiarios`";
$insert = mysqli_query($conexao, $sql);
while($rows = mysqli_fetch_assoc($insert)){
$beneficiario = $rows['beneficiario'];
$idade = $rows['idade'];
$categoria = $rows['categoria'];
$vacina = $rows['vacina'];
$dose = $rows['dose'];
?>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<?php } ?>
</tbody>
</table>