Sorry if this has been brought up 100 times.

I want to do this:

$y = "1";

while ($y <= "$Number_Children") {
        if (!$C_Last_Name$y) {
                error stuff;
                $y++;
        }
}

The form submitting information to this code has field name like
C_Last_Name1 C_Last_Name2 depending on how many Children
are signing up for something. So I need $y to represent the number.

Hope that makes sense. Thanks for any help.
Jeff Oien

-- 
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