Hi,
I have a problem with the argument separator in PHP.
I use the default argument separator in the php.ini which is "&".
Now, I will get the adress of a company from a MySQL
database (e.g. adress.php?company=name). What can I do if the company name includes a "&" (e.g. adress.php?company=C&C). I changed the name and tried to use a "+" instead of "&" (C+C), but it doesn't work either.
Can anybody help me?
Newbie: problems with argument separator
Moderator: General Moderators
using & as seperator is not php- but http-specific.
take a look at http://www.php.net/manual/en/function.urlencode.php
take a look at http://www.php.net/manual/en/function.urlencode.php