RE: [PHP] "Easy question"

From: Date: Fri, 20 Oct 2000 21:20:13 +0000
Subject: RE: [PHP] "Easy question"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21486@lists.php.net to get a copy of this message
> > <?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. > > 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"> //this going to test3.php3 > <input type="submit"> //this going to test2.php3 > </form> > </BODY> > </HTML> That won't work. What exactly are you trying to accomplish? jason _______________________________________________________ Site Design, Hosting, and E-Commerce at www.webpipe.net

« previous php.general (#21486) next »