Timeout in nested loops
Posted: Wed Aug 25, 2004 11:59 am
I have a set of nested loops inside one of the loops I would like to make a submitable form, as such:
The page tends to timeout when I enter the inner count. If I move count2 to the outer loop it does the same thing.
Setting the timeout to higher does not help any. Are there any suggestions to seting up forms dynamically like this or how to end the timeout.
thanks in advance for any help.
Code: Select all
$count=0
while (!$rsact->EOF)
{
$count=$count+1
$count2
//Data here
while (!$rsact2->EOF)
{
$count2=$count2+1
$rsact2->MoveNext();
//Data
//FORMS HERE form name changes with each count2
}
$rsact->MoveNext();
}Setting the timeout to higher does not help any. Are there any suggestions to seting up forms dynamically like this or how to end the timeout.
thanks in advance for any help.