""Dean Martin"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> My code to list only the rows that were checked is this..
>
> for ($j=1 ; $j=5; $j++)
<SNIP>
> This code is creating an endless loop and times out the server with memory
> overruns.
>
> What am I missing?

In the end-loop condition, you're using assignment ('=') instead of if-equal
('==').

Effectively, the loop runs until 5 == 0  ;-)



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to