My database contains fields with special characters. How can I read these characters? With the next code, Ma?? (Maçã) is returned. Do I have this code:
$nome=$_POST['nome'];
$sql=mysqli_query($con, "SELECT idalimento, nome_pt FROM alimento WHERE
nome_en= '$nome'");
while($exibe = mysqli_fetch_assoc($sql)){
echo $exibe["nome_pt"]."<br>";
}
?>
Can someone help me? Thanks
";``` might do the trick – Ben Guest Apr 19 '17 at 15:59