Re: [PHP4BETA] re:Passing an inputs value without a form

From: Date: Thu, 17 Feb 2000 01:04:43 +0000
Subject: Re: [PHP4BETA] re:Passing an inputs value without a form
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10381@lists.php.net to get a copy of this message
David Robley wrote: > Use urlencode to encode the value; it would be good technique to do this > with all the values being passed, to protect against at least spaces in > the variables. > > $MyValue = urlencode($MyValue); > echo "<a > href=\"parseValues.phtml?Arg1=$arg1&Arg2=$arg2&MyValue=$MyValue\">"; > > You don't seem to be doing anything with MyName? The whole point was to get the value of the text input without submiting it via a form I know that usually the value would be passed to $MyName on the forms action=..... page, so would I be able to get the value the user has typed into the input field by urlencoding the MyName variable and then passing it via a link? Thanks :-) Joseph H Blythe mailto:joe.blythe@binarylogic.com.au

« previous php.version4 (#10381) next »