I'll give you an example of it's use:

You have a submission form where you need to confirm:

you have a form on page 1:

field 1...
field 2...
field 3...

and submit button..
When people submit the data it goes to page 2 where a loop will take all
that, create a hidden forms and will also list the data submitted as text so
you can ask the user: "are you sure this info is correct?" If not they click
back-button and if yes they continue clicking submit again and at that point
all these hidden fields are going into your database.

Hope it explains you a bit.

Cheers,
Maxim Maletsky

-----Original Message-----
From: Angerer, Chad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 12:15 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] hidden form field.


Hello list,

Can someone please explain to me in simple terms.  What the exact reason is
for putting hidden form fields into an html document that uses PHP to
connect to a mySQL db .. or any db for that matter.  I have looked around
and have not gotten a good clear answer?

Thanks.

Chad Angerer


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

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