Looping?
| From: | Tony Arnold | Date: | Fri, 14 Dec 2001 12:37:07 +0000 |
| Subject: | Looping? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77730@lists.php.net to get a copy of this message | ||
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