AW: [PHP] oracle php
| From: | Sebastian Stadtlich | Date: | Fri, 13 Oct 2000 15:58:37 +0000 |
| Subject: | AW: [PHP] oracle php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20036@lists.php.net to get a copy of this message | ||
maybe i don't understand your question, but :
<form action=form.php method=post>
<input type=submit value=update name=submit>
<input type=submit value=delete name=submit>
<input type=submit value=find name=submit>
<input type=submit value=insert name=submit>
</form>
<?
echo $submit."<br>";
?>
sebastian
> -----Ursprüngliche Nachricht-----
> Von: Murat SAYGILI [mailto:saygili@altay.com.tr]
> Gesendet am: Freitag, 13. Oktober 2000 17:22
> An: php-general@lists.php.net
> Betreff: [PHP] oracle php
>
> Hello,
>
> My code is below and as you see with this I can only use test1.php3
> I want to handle update or insert or ... for example
> test1.php3 makes update
> test2.php3 makes insert and so on. how can I define each buttons
> to make different jobs or do you have any other solution. I
> do not want to
> do update, insert or the other jobs on different forms.
> I am putting buttons below just to show idea : ))
> Thanks
> murat
>
> <HTML>
> <HEAD>
> <TITLE>form</TITLE>
> <BODY>
> <CENTER>please enter values</CENTER>
> <P>
> <TABLE WIDTH=400><TR>
> <TD>
> <FORM ACTION="/test1.php3" METHOD="POST">
> a1 : <INPUT TYPE="text" NAME="tar1" SIZE="15"
> MAXLENGTH="20">
> <TD>
> a2 : <INPUT TYPE="text" NAME="tar2" SIZE="15"
> MAXLENGTH="20">
> <TR>
> <TD>
> <INPUT TYPE="Submit" VALUE="update">
> <INPUT TYPE="Submit" VALUE="insert">
> <INPUT TYPE="Submit" VALUE="delete">
> <INPUT TYPE="Submit" VALUE="find">
> </FORM>
> </TABLE>
> </BODY>
> </HTML>
>
>
> --
> 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
>