Re: beginners question

From: Date: Tue, 24 Feb 2004 05:24:50 +0000
Subject: Re: beginners question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178639@lists.php.net to get a copy of this message
Steve wrote:
I have this code $var=$_POST['Stock']; in one page further down in the code, if certain conditions are met, I want the user to click on a link that will take them to a form to fill in some info. I need to have the data that is in $var passed along to that new url. So I have $var=$_POST['Stock']; in one page . . . echo '<a href="input.php?Stock">Click to add</a>' input.php is the form page. How do I get the Stock from the fisrt page to the second using the ? syntax?
echo ( '<a href="input.php?Stock=' . $var . '">Click to add</a>' ); -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#178639) next »