|
Posted by Vince Morgan on 12/21/06 09:35
"Johnny Mac" <johnnyMac@npubcorp.com> wrote in message
news:vMGdnVpk-KPezhfYnZ2dnUVZ_q2pnZ2d@magma.ca...
> Hi Vince
>
> Thanks for the info. I'm new to PHP. I can create forms but this one is
> tricky. I know nothing about javascript ( ! ).
>
> I was thinking about creating a function which would display the text
entry
> field using a for loop with the initial count n=0. If a field would have
> data entered into it, I'd test with isset(), then I would call the
function
> again, adding to n which in theory would add another line for text entry.
>
> Of course there would be the problem of the data array, but in this case,
do
> you think the above idea might me possible using a $_SERVER['PHP_SELF'];
> method?
>
Yep, you can certainly can. You could add extra fields after submission, or
you could simply refill the tombstone data, and offer the same two emptied.
In fact the solution we employed used PHP_SELF as a fallback, and it works
very nicely.
Vince Morgan
[Back to original message]
|