Re: A two flavored post

From: Date: Fri, 05 Oct 2007 03:06:14 +0000
Subject: Re: A two flavored post
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-262782@lists.php.net to get a copy of this message
On Thu, 2007-10-04 at 22:33 -0400, tedd wrote: > Hi gang: > > I asked this question on the javascript list, but for some reason > it's taking forever to post there. So, I figured that I would ask > here as well. > > I'm currently sending data (the value of s) to another script via the > html statement: > > <a href="img.php?s=<?php echo($value);?>">Click here</a> > > However, I need to add another variable, namely a javascript > variable, to the GET string. > > How can I send both a php and a javascript variable together at the same time? Use an onclick="" event handler. Cheers, Rob. -- ........................................................... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ...........................................................

« previous php.general (#262782) next »