Friday, December 13, 2013

Insert hindi text to mysql database

1. open phpmyadmin
2. Click on SQL tab or select any database name then 
Click on SQL tab
3. copy below sql query one by one and paste in SQL body  
 
mysql_query('SET character_set_results=utf8');

mysql_query('SET names=utf8');
mysql_query('SET character_set_client=utf8');

mysql_query('SET character_set_connection=utf8');
mysql_query('SET character_set_results=utf8');

mysql_query('SET collation_connection=utf8_general_ci');
 
 
 
 
 
 
 
 
 
 
 
4. And click on GO Button to execute above query.
 
 

-->