Re: Looping?
| From: | Tony Arnold | Date: | Fri, 14 Dec 2001 13:15:44 +0000 |
| Subject: | Re: Looping? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77737@lists.php.net to get a copy of this message | ||
Thank you all for very good and quick answers. They did help! :-)
/ Tony...
"Tony Arnold" <tony.arnold@telia.com> wrote in message
news:20011214123722.53408.qmail@pb1.pair.com...
> Hello, I don't know if I'm in the right newsgroup but I'll give it a
try...
> :-)
>
> How can I make the following work:
>
> function start($times)
> {
> for...loop starts here...
> { <-- notice only one bracket.
> }
>
> function end()
> {
> } <-- the ending bracket.
> }
>
> start('10');
> html-code... I want this to be repeated 10 times.
> end();
>
> This doesn't work but this is how I want it! :-) Anyone?
>
> / Tony Grefweberg
>
>