Re: "Easy question"

From: Date: Sat, 21 Oct 2000 00:49:32 +0000
Subject: Re: "Easy question"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21501@lists.php.net to get a copy of this message
Try using a hidden field... like so. ----- Original Message ----- From: "Daniel Sandvold" <danielsa@stud.ntnu.no> To: "Jason Cox" <jasonc@webpipe.net> Cc: <php-general@lists.php.net> Sent: Friday, October 20, 2000 2:12 PM Subject: RE: [PHP] "Easy question" > > > Sure. > > > > <?php > > $var_name_1 = "foo"; > > $var_name_2 = "bar"; > > ?> > > <html> > > ... > > <a > > href="http://someotherdomain.com/page.php?var_name_1=<?echo > > $var_name_1;?>&var_name_2=<?echo $var_name_2;?>"><img > > src="blah"></a> > > </html> > > > > This is a simple example. If you have a ton of variables to pass over, you > > might want to use a form to POST them as hidden fields. > > > > Jason > > i was hoping somthing like this would work : > > <HTML> > <BODY> > > <form action="test2.php3" AND "test3.php3" method="post"> > > Name: <input type="text" name="fname"><br> > age : <input type="text" name="age"><br> > <input type="submit"> file://this going to test3.php3 > <input type="submit"> file://this going to test2.php3 > </form> > </BODY> > </HTML> > > > Daniel :) > > > -- > 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 > >

« previous php.general (#21501) next »