Hi,
I'm relatively new to PHP, and I've done some stuff, but this one has be a bit stifled.
I have six packages (bear, eagle, skagit, highway, salmon, baker)
each has a radio button, so I want my visitors to select only one package.
each package has a drop down menu with 4 choices in it (monthly, quarterly, semi-annual, annual)
after selecting which package, a visitor will select a choice from the drop down menu associated with that package.
after hitting clicking the submit button, the visitor is taken to a verification page where they can view the package and choice they selected). My question:
How can I show just the package selected and the choice from the drop down the chose? I'm assuming (because I'm taking the idiot's fifth on this) that I need some sort of array to loop through to see which variables are not null.
Here is a sample from the form:
<input type=radio name=package1 value="<?=$package1?>">
<select name="bearpack" value="<?=$bearpackage?>" class=input>
<option value="blackbearmonthly" > $20 setup + $10.00 / Monthly</option>
<option value="blackbearquarterly" > $0 setup + $30.00 / Quarterly</option>
<option value="blackbearquarterly" > $0 setup + $60.00 / Semi-Annually</option>
<option value="blackbear20yearly" > $0 setup + $120.00 / Annually</option>
</select>
<br><br>
<font size=2 face=tahoma,verdana color=#000000>
<b><a href="baldeagle.html" onclick="NewWindow2(this.href,'name','475','475','yes');return false;">Bald Eagle Premiere</a>:</b>
<br>
<input type=radio name=package2 value="<?=$package2?>">
<select name="eaglepack" value="<?=$eaglepackage?>" class=input>
<option value="baldeaglemonthly" > $25 setup + $20.00 / Monthly</option>
<option value="baldeaglequarterly" > $0 setup + $60.00 / Quarterly</option>
<option value="baldeaglequarterly" > $0 setup + $120.00 / Semi-Annually</option>
<option value="baldeagleyearly" > $0 setup + $240.00 / Annually</option>
</select>
<br><br>
<font size=2 face=tahoma,verdana color=#000000>
<b><a href="skagit.html" onclick="NewWindow3(this.href,'name','475','475','yes');return false;">Skagit Powerhouse</a>:</b>
<br>
<input type=radio name=package3 value="<?=$package3?>">
<select name="eaglepack" value="<?=$eaglepackage?>" class=input>
<option value="skagitmonthly" > $35 setup + $30.00 / Monthly</option>
<option value="skagitquarterly" > $0 setup + $90.00 / Quarterly</option>
<option value="skagitquarterly" > $0 setup + $180.00 / Semi-Annually</option>
<option value="skagityearly" > $0 setup + $360.00 / Annually</option>
</select>
Thanks for your help.