imported_Dave_G
New member
I've tried:
...
xmlhttp.setRequestHeader("Content-type",
"application/x-www-form-urlencoded");
...
xmlhttp.send("name1=info&
name2=info2&moreinfo");
...
(lines are split so they will fit in YA)
The problem is it just sends 'name2' with the value 'info' because it thinks the '&' is to start a new variable. I want it to send name2 with the value 'info2&moreinfo'.
Do I have to use a different Content-type header?
Thanks
...
xmlhttp.setRequestHeader("Content-type",
"application/x-www-form-urlencoded");
...
xmlhttp.send("name1=info&
name2=info2&moreinfo");
...
(lines are split so they will fit in YA)
The problem is it just sends 'name2' with the value 'info' because it thinks the '&' is to start a new variable. I want it to send name2 with the value 'info2&moreinfo'.
Do I have to use a different Content-type header?
Thanks