Forum Moderators: coopster
Choose a Category:</td></tr>
<tr>
<td>
<select name="category" Wrap=virtual><option value="ag">AGRICULTURE
<select name="category" wrap=virtual><option value="archi">ARCHITECTS
<select name="category" wrap=virtual><option value="auct">AUCTIONEERS
<select name="category" wrap=virtual><option value="bk">BANKS
<select name="category" wrap=virtual><option value="coll">COLLEGE & U
</select><br><? echo "<FONT COLOR=\"#800000\">VALUE RECORDED AS PER YOUR SELECTION:</FONT>";?> <b><?php print $s[category];?></b>
thank you
<edit>
since it is a section of a longer form, I just tried to isolate that section and run it as is
again works fine in Netscape
run scrambled in IE
</edit>
Choose a Category:</td></tr>
<tr>
<td>
<select name="category" Wrap=virtual>
<option value="ag">AGRICULTURE</option>
<option value="archi">ARCHITECTS</option>
<option value="auct">AUCTIONEERS</option>
<option value="bk">BANKS</option>
<option value="coll">COLLEGE & U</option></select><br><? echo "<FONT COLOR=\"#800000\">VALUE RECORDED AS PER YOUR SELECTION:</FONT>";?> <b><?php print $s[category];?></b>
The problem is you had multiple select tags when only one was needed. You also need to close each option tag. Netscape and Mozilla are apparently more forgiving than IE is when fed malformed html.
You may want to refer to [w3schools.com ] for how a select field should be used. www.w3schools.com is a useful resource even if it is a bit outdated in places.