Hello
I am working on a while loop within a while loop.
Is it possible to put the inner loop into a function? if yes, how?
| SitePoint Sponsor |


Hello
I am working on a while loop within a while loop.
Is it possible to put the inner loop into a function? if yes, how?

Like this?PHP Code:while (...)
{
// ...
somefunction();
// ...
}
function somefunction()
{
while (...)
{
// ...
}
}
Rémon - Hosting Advisor
Minimal Bookmarks Tree
My Google Chrome extension: browsing bookmarks made easy
Bookmarks