FraggleRock Posted May 21, 2010 Share Posted May 21, 2010 Hello Everyone, So I am a bit confused with this and needed some assistance. Maybe I am just blind. I have the following code that SHOULD generate 3 seperate drop down lists for the user to use on the front end. The first drop down list shows up great and everything is all good. the 2nd and 3rd do not. Using the same code from the first. I gotta believe that it is something in my syntax, but I am just not seeing it. Thanks for the help. Fraggle echo 'Primary Category: <select name="CategoryID1">'; while($Cat = mysqli_fetch_array($CategoryResult, MYSQLI_NUM)) { echo "<option value=\"$Cat[0]\">$Cat[1]</option>"; } echo '</select> Secondary Category: <select name="CategoryID2">'; while($Cat1 = mysqli_fetch_array($CategoryResult, MYSQLI_NUM)) { echo "<option value=\"$Cat1[0]\">$Cat1[1]</option>"; } echo '</select> Permissions: <select name="AccessTypeID">'; while($ATID = mysqli_fetch_array($AccesstypeResult, MYSQLI_NUM)) { ECHO "<option value=\"$ATID[0]\">$ATID[1]</option>"; } echo '</select>'; Link to comment https://forums.phpfreaks.com/topic/202466-additional-drop-downs-not-displaying/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.