Re: Tracking vars

From: Date: Fri, 20 Oct 2000 06:05:21 +0000
Subject: Re: Tracking vars
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21335@lists.php.net to get a copy of this message
Hey Adrian: > doesnt seem to track the vars across all three. Ive taken a > look at my PHP > manual and from this I understand I should be using $HTTP_GET_VARS["My Vars"] > but it doesn`t tell me how or where I should insert this on my page, anyone > know? Check out HTML standards too on http://www.w3c.org/. Anyway, what you'll need to do is have hidden input elements on the second and third forms holding the data from prior forms. Set the value="" attribute of the input element by using your $HTTP_GET_VARS["MyVar"] or $MyVars: echo "<input type=\"hidden\" name=\"MyVar\" value=\"$MyVar\" />"; Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#21335) next »