I want to put a horizontal line to separate data when viewing in a DGV in php, I use an 'echo' along with a '' to create the table, but I want to separate it by lines the records within the echo when creating the table, attach the code so far
$query = $db->prepare($sql);
$query->execute();
echo '<thead>
<tr>
<th nowrap>Pregunta</th>
<th nowrap>Respuesta</th>
<th nowrap>Imagen</th>
<th nowrap>Video</th>
<th nowrap>Firma</th>
</tr>
</thead>
<tbody>';
foreach ($query as $valor) {
echo '<br />
<tr>
<td nowrap style="width: 350px; text-align:center;">'. $valor[0] . '</td>
<td nowrap style="width: 120px; text-align:center;">' . $valor[1] . '</td>
<td nowrap style="width: 200px; text-align:center;"><a target="_blank" href="../img_uploaded/'.$valor[2].'" rel="lightbox" >' . $valor[2] . '</a></td>
<td nowrap style="width: 200px; text-align:center;"><a target="_blank" href="../img_uploaded/'.$valor[3].'" rel="lightbox" width="150" height="150" >' . $valor[3] . '</a></td>
<td nowrap style="width: 200px; text-align:center;"><a target="_blank" href="../img_uploaded/'.$valor[4].'" rel="lightbox" >' . $valor[4] . '</a></td> <br>
</tr> <br />';
}