RE: [PHP-DB] HTLM forms and PHP
| From: | Sam Masiello | Date: | Tue, 30 May 2000 20:18:11 +0000 |
| Subject: | RE: [PHP-DB] HTLM forms and PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-107@lists.php.net to get a copy of this message | ||
It sounds like you have both buttons on the same form. If this is the case,
then they will both POST to the file that you have in the POST attribute for
your form.
Put the buttons on different forms (one that posts to some page for FIND and
another for SAVE).
Sam Masiello
System Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: Ryan Patrick [mailto:ryan.patrick@sheridanc.on.ca]
Sent: Tuesday, May 30, 2000 11:13 AM
To: php-db@lists.php.net
Subject: [PHP-DB] HTLM forms and PHP
HI I have a HTML form that's basically a Customer Information Screen. I
want it to be both an Input screen and also double as a Search Screen. IE) I
have a Save and Find buttons where you would type in information and Either
do a FIND for the Customer Information or Save the Customer Information as a
New record. I was wondering if anyone can help me?? Either HTML wise or PHP
wise. I have the Find working fine. I can't figure out how to get the Save
button to preform the SAVE option. The Save button does the same as the
Find.
Can anyone help me?
Thanks,
Ryan.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net