Page 1 of 1

special characters

Posted: Sun Jun 21, 2009 5:16 pm
by gum1982
hi when i echo a query to show the text from the database it returns it as follows.


Message%3A+this+is+a+test%0D%0A%0A+From%3A+

this should say: Message this is a test

how do i get rid off all the characters shown for the spaces.

any help please

Re: special characters

Posted: Mon Jun 22, 2009 7:46 am
by patrickmvi
Use the following:

http://www.php.net/urldecode