RE: [PHP] how to pass javascript variable to php script

From: Date: Fri, 11 Aug 2000 12:13:08 +0000
Subject: RE: [PHP] how to pass javascript variable to php script
Groups: php.general 
Request: Send a blank email to php-general+get-11310@lists.php.net to get a copy of this message
you could always have the javascript put the value into a hidden field that would then be read by the php on the next page. Mindarch -----Original Message----- From: ami [mailto:ami@worldgatein.net] Sent: Friday, August 11, 2000 4:30 PM To: php-general@lists.php.net Subject: [PHP] how to pass javascript variable to php script Hello Friends, I want to pass a javascript variable to php script. using include statement. Is there any way? <script language="javascript"> var javascriptvar="test"; //suppose </script> <? include("test.php3"); $phpvar = javascriptvar; ?> how to do it? is it possible? From:- Ami Choksi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#11310) next »