faqts : Computers : Programming : Languages : PHP : Common Problems : URLs

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 2 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

Why do my strings contain strange "%20" type things?

May 18th, 2000 19:37
Nathan Wallace,


They have been URL encoded, %20 is a fancy way of representing a space.

Try the urldecode function:

    http://www.php.net/manual/function.urldecode.php