RE: [PHP-DB] HTLM forms and PHP
| From: | Zylski Marcin | Date: | Wed, 31 May 2000 11:08:33 +0000 |
| Subject: | RE: [PHP-DB] HTLM forms and PHP | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-131@lists.php.net to get a copy of this message | ||
Another solution is to add, for example, radio buttons to show what function
user wants.
For example:
<INPUT TYPE="radio" NAME="function" VALUE="search">
<INPUT TYPE="radio" NAME="function" VALUE="save">
--
-- Marcin Zylski, dzial IT
-- email: marcin.zylski@upc.com.pl
-- tel. +48 32 20 07 485
--
-----Original Message-----
From: Sam Masiello [mailto:smasiello@chekinc.com]
Sent: Tuesday, May 30, 2000 10:18 PM
To: Ryan Patrick; php-db@lists.php.net
Subject: RE: [PHP-DB] HTLM forms and PHP
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
--
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