Ashura: for Schleife

Beitrag lesen

Hallo Kalle.

Ich würde es so machen:

Kleine Korrektur:

<select name="Zahlung">

[code lang=php]<?php
for ($kw = 1; $kw <= 20; $kw++)
{
  echo '<option value="'.$kw.'">'.$kw.'</option>'."\n";
}
?>


> </select>[/code]  
  
  
Einen schönen Dienstag noch.  
  
Gruß, Ashura  

-- 
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|  
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“  
[[HTML Design Constraints: Logical Markup](http://www.w3.org/History/19921103-hypertext/hypertext/WWW/MarkUp/HTMLConstraints.html)]