Can anyone help, i have a problem with passing variables with the get or post function.
I need to pass a variable from a dynamicly created drop down list, and then i need to url encode it when its selected so i can send it to another page with out it being trimmed because of the spaces in it. eg
i want to send "Tea Pot"
so it would be
test.php?var1=Tea Pot
but i get
test.php?=var1=Tea
so i guess its trimming it.
so if i url encode it, it should fill in the spaces with "%20"
or is there a better way to do it??
please help as i am really stuck.
Tony