I have an euro sign in the database. When I want to print it out on my website it is showing a question mark.
It's from text field --> database --> website.
I have an euro sign in the database. When I want to print it out on my website it is showing a question mark.
It's from text field --> database --> website.
Your database is not UTF-8.
This may help:
mysqli_query($conn, "SET NAMES utf8");
Or this query:
ALTER TABLE table_name CONVERT TO CHARACTER SET utf8
Also, include this <meta />
tag in the <head>
of your HTML page:
<meta charset="UTF-8" />