Re: Array...
| From: | jeremy brand | Date: | Mon, 15 Jan 2001 22:09:19 +0000 |
| Subject: | Re: Array... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34695@lists.php.net to get a copy of this message | ||
*laughs* Yes. :) It is only 2:07 PM.. forgive me.
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"<body>" -- Quoted from Yahoo! homepage, http://www.yahoo.com
On Mon, 15 Jan 2001, Johannes Janson wrote:
> Date: Mon, 15 Jan 2001 23:08:33 +0100
> From: Johannes Janson <johannes.janson@gmx.de>
> To: php-general@lists.php.net
> Subject: Re: [PHP] Array...
>
> > for ($i=100; $i>0; $i++)
>
> shouldn't it be $i--? this loop would run forever...
>
> > print "<OPTION VALUE=\\\"$i\\\"></OPTION>\n";
> >
> > But, I presume you would rather do this:
> > for ($i=100; $i>0; $i++)
> > print "<OPTION VALUE=\"$i\"></OPTION>\n";
> >
> > because I can't imagine why you would want to escape double quotes in
> > HTML.
> >
> > Jeremy
> >
> > Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 ::
> jeremy@nirvani.net
> > http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
> > for more
> > Get your own Free, Private email at
> > http://www.smackdown.com/
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > "<body>" -- Quoted from Yahoo! homepage,
> > http://www.yahoo.com
> >
> > On Mon, 15 Jan 2001, WreckRman2 wrote:
> >
> > > Date: Mon, 15 Jan 2001 16:48:21 -0500
> > > From: WreckRman2 <wreckrman2@combatfs.com>
> > > To: "'Php-General@Lists. Php. Net'"
> > > <php-general@lists.php.net>
> > > Subject: [PHP] Array...
> > >
> > >
> > > How can I do an array like below 100-1?
> > >
> > > <OPTION VALUE=\"100\"></OPTION>
> > > <OPTION VALUE=\"99\"></OPTION>
> > > <OPTION VALUE=\"98\"></OPTION>
> > > <OPTION VALUE=\"97\"></OPTION>
> > >
> > > to
> > >
> > > <OPTION VALUE=\"3\"></OPTION>
> > > <OPTION VALUE=\"2\"></OPTION>
> > > <OPTION VALUE=\"1\"></OPTION>
> > >
> > > WreckRman2
> > > Combat Flight Center
> > > http://www.combatfs.com
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > >
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>