I'm having trouble with PHP / Mysql
When I use:
header("Content-Type: text/html; charset=UTF-8",true);
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
The HTML code is ok, but MySQL results with emphasis .
If I change to:
header("Content-Type: text/html; charset=ISO-8859-1",true);
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
The problem reverses, the results of the bank are ok and html is:
Next (ex: Next)
I changed the database to Latin1 and returned to UTF-8 and nothing. I've tried utf8_encode (), htmlentities () and it's still the same.
Any suggestions?