PHP MySQL Greek letters showing like ???? marks

Viewed 31188

I have a table with some text and text is greek letters, when i use sql tool and select the data from this table is showing correctly Image for SQL Query Results

But when i show this my site frontend using mysql_fetch array and when echo it shows as below enter image description here

Anyone know how to fix this error thank you.

6 Answers

Try this:

mysqli_set_charset($con, "utf8");

After you connect to DB.

Related