wantabe2
asked on
PHP Code Submit Button
In the below code, I need to be able to choose an office from teh drop down box then click the submit button. If I choose "Office A" then click the "Submit button, I need to be redirected to http://mysite/query/officea.php
If I choose "Office B" from the drop down list, I need to be redirected to http://mysite/query/officeb.php
Is this possible?
If I choose "Office B" from the drop down list, I need to be redirected to http://mysite/query/officeb.php
Is this possible?
<body>
<h1>Please choose an office</h1>
<br>
<b>Choose an Office: </b><br />
<select name="office" /> <br />
<option value=""></option>
<option value="Office A">Office A</option>
<option value="Office B">Office B</option>
</select>
<input type="submit" value="Submit" />
</br>
</body>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.