I have changed the charset of the tables and of the column, i get the arabic text as ???? marks in MYSQL database
here is the design of the table
C
To read ,write and sort Arabic text in mysql database using php correctly, make sure that:
MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation: utf8_general_ci
your database and table collations are set to: utf8_general_ci
or utf8_unicode_ci
Then, add this code in your php script when you connect to db:
mysql_query("SET NAMES 'utf8'");
mysql_query('SET CHARACTER SET utf8');
For more details