I am making a form where I have to show a survey that is already hosted in the BD. I have the problem that it takes strange characters ...
"Mr./Sra.CASER MIRO ROTUE The technician gave you information on the operation of the installed equipment?"
How can I do it? I tried UTF before the row and nothing ... Here I leave the code I have.
$sql3="SELECT * FROM tbl_consumo_final INNER JOIN tbl_visitas ON tbl_consumo_final.PRIMARIA_VISITAS=tbl_visitas.PRIMARIA INNER JOIN tbl_encuesta ON tbl_consumo_final.NUM_CONSUMO=tbl_encuesta.NUM_CONSUMO WHERE tbl_visitas.OT=".$ot."";
echo "<table id='tablatres'>
<thead>
<tr>
<td colspan='' rowspan='' headers=''> <h3>Preguntas</h3> </td>
<td colspan='' rowspan='' headers=''> <h3>Respuestas</h3> </td>
</tr>
</thead>";
if($resultado3=$mysqli->query($sql3)) {
while ($row = $resultado3->fetch_assoc()) {
echo "<tbody>
<tr>
<td>$row[PREG_ENCUESTA]</td>
<td colspan='' rowspan='' headers=''> $row[RESP_ENCUESTA]</td>
</tr>";
}
echo " </tbody>
</table>";
$resultado3->free();
}