Making a link from variables with spaces in (PHP)

Associate
Joined
2 Aug 2005
Posts
680
I am passing variables from a form to make a link, but one of the fields may contain spaces. Is there anyway to convert the spaces in the string when making the link into the "%20" bit?

Thanks,
 
Back
Top Bottom