Form re-direct to a different URL.
Okay apologies this is'nt technically PHP yet I trying to develop a simple select form that will action another url and fulfill the request of the option selected.
The site is http://www.ding.com/
The pages that each option will open are;
a-distirct
b-district
So option a on the form would take the user to http://www.ding.com/a-district
I cant seem to get this right heres the form markup I'm toying with;
Code:
<form id="select" action="http://ding.com" method="get">
<select name="/">
<option value="">Please choose</option>
<option value="a-district">A district</option>
<option value="b-district">B-District</option>
</select>
<input type="submit" value="Go" />
</form>
The resulting url is showing "/?%2F=a-district"......
Just noticed ding.com is being held - i'm only using this as an example....