sanjdhiman
Programmer
I have a quick problem, cant figure it out so I thought id ask you guys
I have a form which takes a value from a select box
e.g.
echo "<form name=\"test\" action=\"$PHP_SELF?companyname=$agentname\" method=\"post\">
<select name=agentname onchange=submit()><option value="Greta Co">Greta & Co </option>
this is a snippet of the code
Ok so here lies the problem, i get it to refresh and all as in when they select from the drop down it comes out on the URL, but it only gives me the first bit of the string,
e.g.
I get
and that is it??
what i should be getting is
Co"
Does anyone know wath the problem is?
Thanks in advance
SAnj
I have a form which takes a value from a select box
e.g.
echo "<form name=\"test\" action=\"$PHP_SELF?companyname=$agentname\" method=\"post\">
<select name=agentname onchange=submit()><option value="Greta Co">Greta & Co </option>
this is a snippet of the code
Ok so here lies the problem, i get it to refresh and all as in when they select from the drop down it comes out on the URL, but it only gives me the first bit of the string,
e.g.
I get
and that is it??
what i should be getting is
Co"
Does anyone know wath the problem is?
Thanks in advance
SAnj