how about :

if ((isset($number ))&&($number <= $max)){

 while ($number > 0;$number -- ) {
                echo '<TR><TD>Last Name</TD><TD><INPUT TYPE="Text"
NAME="'.$number.'last_name">';}
        }



if you're not crazy about having the fields labled in reverse order you
could push to an array and then arsort the array.


____________________________ 
Matthew Luchak 
Webmaster
Kaydara Inc. 
[EMAIL PROTECTED]

What I'm doing is having a form page ask, "How many
children do you want to sign up?" Then it spits out form
fields for as many children as they asked for. So each
field has name="C_Last_Name$x" and $x in incremented
for each child. Should I make it name="C_Last_Name[$x]" ?
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