You want some javascript that'll use the onChange or similar trigger to change the document.location value which will force it to jump to another page!
In short, that's javascript, not PHP ;)
Moderators: macek, egami, gesf
<form action="choosepage.php">
<select name="goto">
<option value="http://yoursite/page1.html">
</select>
...
...
</form>
<?php
$goto = $_POST['goto']
$others = $_POST[...];
... perform action on $other variables
header( "Location: $goto" );
?>

Users browsing this forum: No registered users and 2 guests