how to insert hindi text in mysql database using php?

Posted by Paidboom - 6 months ago

how to insert hindi text in mysql database using php : In this article I will learn to store in to MySQL DB Hindi, Gujarati, Nepali, Telugu, Punjabi, Tamil, Marathi and Bengali etc. without losing its actual format or changing any content.

run the following statement at first

mysql_set_charset('utf8');

//To set the char set
mysql_set_charset('utf8');
//To select hindi data
mysql_query("SELECT * FROM your_table_name");
// To insert hindi data
mysql_query("INSERT INTO ....");