My php script has a loop:
It works just fine, except anytime I pass data to it where the variable variable IS equal to 'EMPTY', then the whole thing crashes where the browser recieves a "This Page cannot be displayed" error while the php.exe process keeps going and using 5-6% of the CPU until it hits max execution time.
What is wrong with this loop?
code:<HR>Code:while (@${'EqualTo'.$wherecol}[$EqualParm]) { $EqualSQL .= ($Text?"'":'').((${'EqualTo'.$wherecol}[$EqualParm]=='EMPTY')?'':${'EqualTo'.$wherecol}[$EqualParm++]).($Text?"'":'').', '; }
It works just fine, except anytime I pass data to it where the variable variable IS equal to 'EMPTY', then the whole thing crashes where the browser recieves a "This Page cannot be displayed" error while the php.exe process keeps going and using 5-6% of the CPU until it hits max execution time.
What is wrong with this loop?