Re: [PHP] dymanic forms

2001-03-18 Thread Manuel Lemos
Hello george, On 06-Mar-01 09:16:39, you wrote: >I am trying to build a form which can be geberated dynamically >by the user selecting the number of fields up to a max of 10. Maybe you would like to try this PHP class that lets you generate forms programmatically. http://phpclasses.UpperDesign

Re: [PHP] dymanic forms

2001-03-06 Thread Rick St Jean
Use a for loop with "); } ?> Or you can use a while loop with a counter... same thing. At 12:17 PM 3/6/01 +, you wrote: >I am trying to build a form which can be geberated dynamically >by the user selecting the number of fields up to a max of 10. > >just now i am using >if ($fields ==1){

Re: [PHP] dymanic forms

2001-03-06 Thread george
Thanks, works a treat george -- 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]

Re: [PHP] dymanic forms

2001-03-06 Thread Lucas Persona
Hi George! george wrote: > I am trying to build a form which can be geberated dynamically > by the user selecting the number of fields up to a max of 10. > just now i am using > if ($fields ==1){ > echo ""; > } > elseif ($fields ==2){ > echo ""; > echo ""; You could use a 'for' structure to do

[PHP] dymanic forms

2001-03-06 Thread george
I am trying to build a form which can be geberated dynamically by the user selecting the number of fields up to a max of 10. just now i am using if ($fields ==1){ echo ""; } elseif ($fields ==2){ echo ""; echo ""; } elseif ($fields ==3){ echo ""; echo ""; echo ""; } there must be a better