-2

I am using php and mysql my database is utf-8 general ci when i fill a form in php the arabic field data is not displaying correctly but when i get that data from database to website it shows arabic correctly

  • 2
    Does this answer your question? [Save Data in Arabic in MySQL database](https://stackoverflow.com/questions/6859018/save-data-in-arabic-in-mysql-database) – Rohit Ambre Jun 11 '20 at 13:09

1 Answers1

0

I don't if it's a version related issue.

But I think, This link may help you-

How to convert an entire MySQL database characterset and collation to UTF-8?

  • This is a comment, not an answer. [It's not hard to earn enough rep to make comments.](http://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead) – Jay Blanchard Jun 11 '20 at 13:29
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Jay Blanchard Jun 11 '20 at 13:30