Re: Question on javascript
| From: | Lim Li Ping | Date: | Fri, 22 Dec 2000 02:27:22 +0000 |
| Subject: | Re: Question on javascript | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4592@lists.php.net to get a copy of this message | ||
Thank-you for the help.
Is it possible then to assign a value to a php variable in a JavaScript ?
For example, when an OnClick event becomes active, you will like to assign a
value to a PHP variable.
Li.
----- Original Message -----
From: Dreamvale <dreamvale@dreamvale.com>
To: PHP Mailing list <php-windows@lists.php.net>
Sent: Thursday, December 21, 2000 1:26 PM
Subject: Re: [PHP-WIN] Question on javascript
>
> <script language=javascript>
> ...
> $javascriptvariables = "<? echo $phpvariable ?>"
> ..
> </script>
>
> hope this helps.
>
> ----- Original Message -----
> From: "Lim Li Ping" <liping@mediaboxoffice.com>
> To: "PHP Mailing list" <php-windows@lists.php.net>
> Sent: Thursday, December 21, 2000 12:33 PM
> Subject: [PHP-WIN] Question on javascript
>
>
> Hi,
>
> How can I pass PHP variables to and fro from JavaScript ?
>
> Thanks in advance ,
> Li
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>