Re: php
| From: | Ernani Joppert Pontes Martins | Date: | Fri, 04 Oct 2002 06:25:11 +0000 |
| Subject: | Re: php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118812@lists.php.net to get a copy of this message | ||
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" <saygili@altay.com.tr> 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>
>