Re: hidden form field.
| From: | Kevin McCarthy | Date: | Tue, 13 Feb 2001 16:33:46 +0000 |
| Subject: | Re: hidden form field. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39434@lists.php.net to get a copy of this message | ||
If you mean why would any script bother using a hidden form field to hold a value between html pages as opposed to holding it in a db field, I would answer there are reasons.
One would be to use a hidden form field as a buffer so that you don't have to change a field's value until you are sure you want it to be in a persistent state. An example might be letting a user review values they have entered into form fields before committing them to the DB.
At 09:14 AM 2/13/2001 -0600, Angerer, Chad wrote:
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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net