Re: Question on javascript

From: Date: Fri, 22 Dec 2000 02:22:39 +0000
Subject: Re: Question on javascript
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-4593@lists.php.net to get a copy of this message
Only by submitting a form using POST or GET like you normally would with HTML, but you can use JavaScript to do the Submit and setup the form. Don't forget, JavaScript is CLIENT-side, PHP is SERVER-side, they are seperate, and run independently of eachother. Matthew At 10:27 AM 12/22/2000 +0800, you wrote:
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 -- 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


« previous php.windows (#4593) next »