02 10:51 AM
To: Kevin Stone; [EMAIL PROTECTED]
Subject: Re: [PHP] Calling Javascript-function from php-script ...
I think the point here is that it be made clear to those who might get
confused that the javascript (unless it's a server-side script) is
running in
a browser and as such there is no way
; information gathered by the PHP script.
> -Kevin
>
> -Original Message-
> From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 19, 2002 4:27 PM
> To: Kevin Stone
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Calling Javascript-function from php-script ..
atabase
information gathered by the PHP script.
-Kevin
-Original Message-
From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 4:27 PM
To: Kevin Stone
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Calling Javascript-function from php-script ...
»Kevin Stone« sagte
»Kevin Stone« sagte am 2002-03-19 um 14:11:42 -0700 :
> Not entirely true. Javascript is directly linked to HTML and HTML is
> directly linked to PHP so you can have PHP talk to Javascript through
> HTML.
I still don't agree. You can of course create JavaScripts dynamically
in PHP. However, PH
uesday, March 19, 2002 12:54 PM
To: Marcel Besancon
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Calling Javascript-function from php-script ...
»Marcel Besancon« sagte am 2002-03-19 um 13:04:38 +0100 :
> Hi everybody,
>
> is there someone who can tell me how to call a javascript-function
by a
»Marcel Besancon« sagte am 2002-03-19 um 13:19:49 +0100 :
> meant ist the following. I have a script with a form. By submitting this
> form and checking out some values php should call a javascript-function
> (such as an alert). You see the php-script shall call the
Bad idea. On the one hand, PH
»Marcel Besancon« sagte am 2002-03-19 um 13:04:38 +0100 :
> Hi everybody,
>
> is there someone who can tell me how to call a javascript-function by a
> php-script.
PHP creates HTML pages (mostly) which will be displayed by a client
and/or receives send pages/requests from a client.
There's
PHP cannot call a javascript function.
but PHP can examine the incoming variables
and then output Javascript to the browser
to do the appropriate work.
for example, calling $text.php?this=5
pops up an alert saying "this=5"
test.php
\n".
"alert('this='+". $this .");\n".
""
?>
Marcel Besa
Javascript-function from php-script ...
Hi,
i know that one is server-side and the other is client-side. But
what i meant ist the following. I have a script with a form. By
submitting this form and checking out some values php should call a
javascript-function (such as an alert). You see the
Hi,
i know that one is server-side and the other is client-side. But what i
meant ist the following. I have a script with a form. By submitting this
form and checking out some values php should call a javascript-function
(such as an alert). You see the php-script shall call the
javascript-fun
Short answer: no.
Long answer: have the PHP script output javascript code
to the browser.
PHP = server-side
Javascript = client-side
Marcel Besancon wrote:
> Hi everybody,
>
> is there someone who can tell me how to call a javascript-function by a
> php-script.
>
> Thanks for each answer
AFAK it's not possible since PHP is server-side and I guess your
JavaScript is client-side.
Niklas
-Original Message-
From: Marcel Besancon [mailto:[EMAIL PROTECTED]]
Sent: 19. maaliskuuta 2002 14:05
To: [EMAIL PROTECTED]
Subject: [PHP] Calling Javascript-function from php-s
Hi everybody,
is there someone who can tell me how to call a javascript-function by a
php-script.
Thanks for each answer
Marcel
--
registered Fli4l-User #0388
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
13 matches
Mail list logo