Link to home
Start Free TrialLog in
Avatar of matrix717
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
Avatar of VGR
VGR

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Amerist
Amerist

Pass %26 instead of &
VGR is right.
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.