Advertisement
Guest User

Untitled

a guest
Nov 27th, 2012
3,881
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. <?php
  2.  
  3. if ($_GET['ch'] == 'lub') {
  4.    ?>
  5. <select name="cityList">
  6. <option value="gw">Gorzow Wlkp</option>
  7. <option value="skw">Skwierzyna</option>
  8. </select>
  9.  
  10. <?php
  11. }
  12.  
  13.  
  14. if ($_GET['ch'] == 'zach') {
  15.    ?>
  16. <select name="cityList">
  17. <option value="zs">Szczecin</option>
  18. <option value="kosz">Koszalin</option>
  19. <option value="star">Stargard</option>
  20.  
  21. </select>
  22.  
  23. <?php
  24.  
  25. }
  26.  
  27.  
  28. if ($_GET['ch'] == 'wiel') {
  29.    ?>
  30. <select name="cityList">
  31. <option value="poz">Poznan</option>
  32.  
  33.  
  34. </select>
  35.  
  36. <?php
  37.  
  38. }
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement