Advertisement
rainbowdash28

Untitled

May 11th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # for-Methode:
  2. for($i = 1; $i <= $items; $i++) echo '<option>....';
  3.  
  4. # while-Methode:
  5. $i = 1;
  6. while($i <= $items) {
  7.     $i++;
  8.     echo '<option>....';
  9. }
  10.  
  11. # do-Methode:
  12. $i = 1;
  13. do {
  14.     $i++;
  15.     echo '<option>....';
  16. } while ($i <= $items);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement