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
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){
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]
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
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
5 matches
Mail list logo