Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label>CHOICE</label>
- <select value="" name="choice" id="choice" required>
- <option>SELECT</option>
- <?php
- $result=mysqli_query($connection,"SELECT * FROM table_choice")or die(mysqli_error,());
- while($row=mysqli_fetch_array($result)){
- $choiceid=$row['field_choiceid'];
- $choicename=$row['field_choicename'];
- $choiceslot=$row['field_choiceslot'];
- ?>
- <option value="<?php echo $choicename;?>">
- <?php echo $choicename;?>
- </option>
- <?php } ?>
- </select>
- <code>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement