I am a rookie at php so my code is not real sophisticated and I have run into a problem. The page works great on mozilla firefox but not on internet explorer. There should be 2 drop down boxes to refine the choices and a submit button, both boxes are viewable on MF, but IE only shows the first drop down box then just outputs the contents of the second drop down box in normal text. The code that should pertain to this is as follows
<form method="post" action="recipe_proc.php">
<?php
$h=0; //counter for category
$i=0; //counter for submitter
echo "<select name = category>
<option value = *>Search by Category</option>";
while ($h < $numcategory) {
$category=mysql_result($categoryresult,$h,"category");
echo "<option value = '$category'>$category</option>";
$h++;
};
echo "<select name = user>
<option value = *>Search by Submitter</option>";
while ($i < $numuser) {
$user=mysql_result($userresult,$i,"submitted");
echo "<option value = '$user'>$user</option>";
$i++;
};
?>
<input type="submit" value = "Search Recipes" />
</form>
Thanks for any help!