how can i insert Arabic text in the mysql ? using php

how can i insert Arabic text in the mysql ? using php

each time i try to insert the data using php i get ?????????? and not Arabic text
mgtm3Asked:
Who is Participating?
 
Ray PaseurConnect With a Mentor Commented:
And this seems to turn up in a search of the literature:

mysql_query("set names 'utf8'");

HTH, ~Ray
0
 
ht-docsCommented:
What character set do you use in mysql? Make it utf8 if it differs
0
 
Ray PaseurCommented:
If you do not need to index or search it, you might think about inserting it into a BLOB field.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.