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?
How do I convert string like1089; т &to normal
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
viewtopic.php?t=36549&highlight=utf may be of interest.
It is work now, When I add the header encoding.feyd wrote:viewtopic.php?t=36549&highlight=utf may be of interest.
thanks.
I thought that firefox use utf8 as the default...