Create multilanguage site

June 21, 2010 | In: mysql, php, web development

To create a site in multiple languages you should do two main things :

Write this code after connection created in database file :

mysql_query (
‘SET character_set_connection=utf8,

And write below code in common file which use in complete site :

header(‘Content-Type: text/html; charset=ISO-8859-1’);