Hi all
I have a MySQL database, which has a table with UTF-8 encoding. I can enter data in table correctly, and I can see the characters in database. But when I query from database with PHP, it only shows me question marks instead of characters. How can I retrieve data correctly?
I use this query before insert or update data in database:
SET NAMES 'utf8'
Now do I have run a similar query when I want to fetch data?