steviecee
07-01-2005, 03:07 PM
Hi, i have a JS generated drop down box system, is it possible to pass the variables picked by a user to a php page for querying a web site. at the moment i have set the select boxes using:
s1.setAttribute("name","s1");
s1.setAttribute("id","s1");
and i'm trying to call them in the php page using
$var_name=$_POST['s1'];
but it isn't liking it one bit!
I've got a feeling this is a little too simplistic?
Any ideas?
Steve
s1.setAttribute("name","s1");
s1.setAttribute("id","s1");
and i'm trying to call them in the php page using
$var_name=$_POST['s1'];
but it isn't liking it one bit!
I've got a feeling this is a little too simplistic?
Any ideas?
Steve