note 43831 added to tutorial.forms
| From: | dudliohara at yahoo dot com | Date: | Mon, 05 Jul 2004 18:57:03 +0000 |
| Subject: | note 43831 added to tutorial.forms | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72623@lists.php.net to get a copy of this message | ||
Use GET wherever possible - it is simpler and does not break the refresh. POST is for textareas and
other large data.
To avoid a double-insert, pull a row_id on the first page and pass it to the second page. On the
second page, make sure the row_id doesnt exist before continuing.
For a modify operation, use row_id the same way, except resubmits are not really a problem. On a
resubmit, the user will only be changing the same row to the same values anyway.
----
Manual Page -- http://www.php.net/manual/en/tutorial.forms.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43831
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43831&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43831&report=yes
Search -- http://master.php.net/manage/user-notes.php