php
| From: | Murat SAYGILI | Date: | Sat, 30 Oct 2010 08:06:35 +0000 |
| Subject: | php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22623@lists.php.net to get a copy of this message | ||
hello friends,
is it possible to write the below code just using php without javascript.
<HTML>
<HEAD>
<TITLE>first</TITLE>
<META NAME="description" CONTENT="">
<META NAME="keywords" CONTENT="R">
<script language="JavaScript">
function AksiyonDegis (aksiyon){
document.Formum.action = aksiyon;
document.Formum.submit();
}</script>
</HEAD>
<BODY>
<form action="" method="post" name="Formum">
Tar1: <input type="text" name="tar1" size="25"
maxlength="30"><br>
Tar2: <input type="text" name="tar2" size="25"
maxlength="30"><br>
<input type="button" value="Ekle"
onClick="AksiyonDegis('test1.php3')">
<input type="button" value="Güncelle"
onClick="AksiyonDegis('test2.php3')">
<input type="button" value="Sil"
onClick="AksiyonDegis('test7.php3')">
<input type="button" value="Bul"
onClick="AksiyonDegis('test5.php3')">
<input type="button" value="Bul"
onClick="AksiyonDegis('test5.php3')">
</form>
</BODY>
</HTML>