On Mon, 15 Jan 2001 13:57:04 -0800 (PST), jeremy brand
([EMAIL PROTECTED]) wrote:
>for ($i=100; $i>0; $i++)
> print "<OPTION VALUE=\\\"$i\\\"></OPTION>\n";
>
>But, I presume you would rather do this:
>for ($i=100; $i>0; $i++)
^^^
should be $i--
> print "<OPTION VALUE=\"$i\"></OPTION>\n";
or how about:
<?for($i=100; $i>0; $i--){?>
<OPTION VALUE="<?echo $i?>"></OPTION>
<?}?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]