special characters

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
gum1982
Forum Newbie
Posts: 24
Joined: Tue Dec 16, 2008 11:15 am

special characters

Post 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
patrickmvi
Forum Commoner
Posts: 32
Joined: Mon Jun 22, 2009 6:45 am
Location: Fort Lauderdale, FL

Re: special characters

Post by patrickmvi »

Use the following:

http://www.php.net/urldecode
Post Reply