Re: how to pass javascript variable to php script

From: Date: Fri, 11 Aug 2000 11:41:38 +0000
Subject: Re: how to pass javascript variable to php script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11307@lists.php.net to get a copy of this message
I'm afraid this isn't possible, because I see no way to get the javascript and the php-script together. Show me what you want to do, perhaps there will be another way to do it. Regards Martin ami wrote: > 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 (#11307) next »