I cannot INSERT
Vietnamese strings into the database that expects char utf8.
There is an error with the font.
Ex:
title: Lê Việt Hải Dương
info: Dương IT 911
Here is my code:
$title = $_POST['title'];
$info = $_POST['title'];
$query = "INSERT INTO `nick` ( `title`, `info`) VALUES ('$title','$info')";
$insert_count = $db->exec($query);
This is what appears in the database:
For title:
Lê Vi?t H?i D??ng
For info:
D??ng IT 911