php-i18n Digest 24 Mar 2003 19:16:16 -0000 Issue 161
Topics (messages 507 through 507):
Sending UTF-8 data from form to mysql
507 by: Nino Katic
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi
I'm using UTF-8 to store data in mysql and to display it using php but i
noticed one problem. I'm getting wrong comparison of data in mysql db fields
and data i send from form. For example this query: select * from table where
username=$_POST['username'] returns wrong result if i use croatian specific
characters in form - $_POST['username'] (in some cases). How to make this
work?
Nino
--- End Message ---