Hi Murat,

You can generate the code above with php and the javascript is a text that
the browser will execute...

PHP has its processes on the server site...ie.: Your webserver....

Javascrip has its processes on the browser of any user who wants to access
your webserver....

HTH,

Ernani


"Murat Saygili" <[EMAIL PROTECTED]> escreveu na mensagem
news:006601cb7809$5f8ff5e0$7d00000a@altaymrk...
> 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>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to