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>'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.