Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <form action="self.php" method="GET">
  2. <select multiple name="types[]">
  3. <option value="1">toto</option>
  4. <option value="2">titi</option>
  5. </select>
  6. <input type="submit">
  7. </form>
  8.  
  9.  
  10. <?php
  11. foreach ($_GET["types"] as $type) {
  12. echo $type;
  13. }
  14. ?>
  15.  
  16.  
  17. 12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement