View Single Post
  #5 (permalink)  
Old 05-04-08
Donk Donk is offline
Registered User
 
Join Date: Feb 2006
Location: Gillingham
Posts: 503
Thanks: 0
Thanked 0 Times in 0 Posts
Donk is an unknown quantity at this point
  Re: Opening a new window from an option tag

If your not using PHP I would stick with jonsp's solution but for the record the php code newpage.php could look something like this:


PHP Code:
Your html head and start of your page
<?php
if ($_POST['dropdown']==1){
?>
your html for option 1
<?
}
else if  (
$_POST['dropdown']==2){
?>
your html for option 2
<?php ?>
more html
__________________
They came for my 404 and I said nothing
Reply With Quote