Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <?php
  2. if (isset($_POST['select_band'])) {
  3. $selected_band_id = $_POST['select_band'];
  4. }
  5. ?>
  6.  
  7. <form method="post" name="form_band" action="">
  8. <select name="select_band" onchange="javascript: submit()">
  9. <?php
  10. while ($row = mysqli_fetch_assoc($result)) {
  11. echo "<option value=".$row["band_id"] . ">" .$row["title"] ."</option>";
  12. }
  13. ?>
  14. </select>
  15. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement