When I tried something like:
products.php?productType=Portable Electronics
... $productType ended up being "Portable%20Electronics" in products.php
The whitespace has been replaced by this %20 ascii value. I can't find a way to strip that character to get the intended text back. I can 'circumvent' the problem, but I don't want to add more unneccessary code. Please help!
Passing strings from submitted forms into PHP script
Moderator: General Moderators
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany