In my scripts you're in an html page, add your name and that gets added to the database via php. However, characters like á are added as something like ã. My database is in utf8. How can I add these characters? áéç etc.
Asked
Active
Viewed 29 times
-1
-
This should help : https://stackoverflow.com/questions/4775842/convert-all-html-special-chars-to-utf-8-in-php – ABcDexter Jun 28 '17 at 11:13
-
ABcDexter that doeant work, returns Ä© instead of é – Ohciarob Jun 28 '17 at 12:03
-
Did you set charset for database connection? – Sehdev Jun 28 '17 at 12:34
1 Answers
0
mysqli_set_charset($con,, "utf8"); Thx to all, I tried alot of stuff but this is what was missing.

Ohciarob
- 11
- 6