Possible Duplicate:
How I can solve my PHP web page file language encoding?
I have different langaues data in database(mysql).But when I select and echo a data in html page it will show as question marks"????" Why is that? How can I overcome this?
Possible Duplicate:
How I can solve my PHP web page file language encoding?
I have different langaues data in database(mysql).But when I select and echo a data in html page it will show as question marks"????" Why is that? How can I overcome this?
It could be a character encoding problem. Which character encoding are you using and which one your is browser using?
There is a similar topic discussed here so you can also check it: How I can solve my PHP web page file language encoding?
Probably your html-page is using a different character encoding as your mysql. Make sure to convert your text to the correct character encoding.
EDIT: Knowing now that your database uses utf8 encoding then another possibility is that the text you inserted in your database is not compatible with the utf8 encoding. So either encode the inserting data to utf8 or change both html page and database to ISO-8859-1 encoding (which is usually the correct one).
In the head section of the HTML page use the appropriate charset declaration like e.g.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">