Re: Java + PHP

From: Date: Thu, 02 Nov 2000 18:34:57 +0000
Subject: Re: Java + PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-23440@lists.php.net to get a copy of this message
<? echo $phone; ?> --Joe On Wed, Nov 01, 2000 at 04:17:18PM +0100, Jan van Schaijk wrote: > Wow, this is a hard one: > > I have a JAVAscript: > > <SCRIPT language=JavaScript> > <!-- > function MM_jumpMenu(targ,selObj,restore){ //v3.0 > > eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); > if (restore) selObj.selectedIndex=0; > } > //--> > </SCRIPT> > > and pull-downmenu's in PHP: > > <select onChange="MM_jumpMenu('parent',this,0)" name=Phone> > <select onChange="MM_jumpMenu('parent',this,0)" name=Sorting> > > How can get the selected value (which is in the URL of the <OPTION > value=....> in a PHP-string? > > So, if function output location=....?phone=nokia I want to have nokia in a > PHP-string... > > Jan > > > > -- > 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 ================================================================================ = Joe Stump joestump98@yahoo.com http://www.miester.org = ================================================================================ "Real programmers don't comment their code. It was hard to write, it should be hard to understand."

« previous php.general (#23440) next »