""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++)
> This code is creating an endless loop and times out the server with memory
> overruns.
>
> What am I missing?
can't say for sure, but a good guess is some problems with undefined vars.
try using fforeach insted, its alot simpler.
$j_val)
foreach($check[$j_pos] as $i_pos => $i_val)
$message .= "{$pre[$j_pos][$i_pos]} {$post[$j_pos][$i_pos]}
{$name[$j_pos][$i_pos]} {$city[$j_pos][$i_po
I have a multidimensional array being created by a form. Most fields are
pre-populated with a few that people can add to the list. There is a box
beside each row that they can check whether that item is in or not.
My code to list only the rows that were checked is this..
for ($j=1 ; $j=5; $j++
3 matches
Mail list logo