I often see something similar to this below in PHP scripts using MySQL
query(\"SET NAMES utf8\");
I have never had to do this for any pr
This query should be written before the query which create or update data in the database, this query looks like :
mysql_query("set names 'utf8'");
Note that you should write the encode which you are using in the header for example if you are using utf-8 you add it like this in the header or it will couse a problem with Internet Explorer
so your page looks like this
page title