Page 1 of 1

How do I convert string like1089; т &to normal

Posted: Sat Jul 07, 2007 2:15 am
by nadavvin
How do I convert string like1089; т &to normal string?

I want to search in mysql database when the user fill a form.

But I get the post data of the forms like &# 1090; , how do I convert it to normal string.

When I write the full sql query in the code it is work.

I try the following functions but none of them help:

urldecode, rawurldecode, htmlspecialchars_decode,convert_uudecode


What should I do?

Posted: Sat Jul 07, 2007 7:48 am
by feyd

Posted: Sat Jul 07, 2007 11:35 am
by nadavvin
feyd wrote:viewtopic.php?t=36549&highlight=utf may be of interest.
It is work now, When I add the header encoding.

thanks.

I thought that firefox use utf8 as the default...