I am using the following
PHP 5 and Mysql 4
I have a PHP form that I want to enter UTF-8 characters into a MySQL database.
The top of the php form has
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
I know the MySQL database holds the characters properly as I can paste the characters directly into the Database using a GUI tool.
When I enter the Characters through the PHP form, it looks like the following in the database.
参照番号
Can anyone advise me how to get these characters to enter correctly.
PHP 5 and Mysql 4
I have a PHP form that I want to enter UTF-8 characters into a MySQL database.
The top of the php form has
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
I know the MySQL database holds the characters properly as I can paste the characters directly into the Database using a GUI tool.
When I enter the Characters through the PHP form, it looks like the following in the database.
参照番号
Can anyone advise me how to get these characters to enter correctly.