matrix717
asked on
How to send '&' as a parmeter value?
I need to send values like var1=w&c but I get an error when I try to do this using the get method... What can i do?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Pass %26 instead of &
VGR is right.
You URLENCODE the values and in the next page you get the correct values w&c.
You URLENCODE the values and in the next page you get the correct values w&c.
I mean, %26 is a good solution, but urlendode/decode is god practice and is more general : it solves a lot of problems
Agreed.