I'm sure this will have been asked before but I couldn't find it in the FAQs.
Is there a PHP function that will convert a string so it is suitable for a URL parameter?
For example, if a string contains "I like beer" then I want a function that will return "I+like+beer". The function will also have to cope with quotes and other special characters.
Andrew
Hampshire, UK
Is there a PHP function that will convert a string so it is suitable for a URL parameter?
For example, if a string contains "I like beer" then I want a function that will return "I+like+beer". The function will also have to cope with quotes and other special characters.
Andrew
Hampshire, UK