Re: variables not being passes between php pages

From: Date: Wed, 10 Jan 2001 21:15:09 +0000
Subject: Re: variables not being passes between php pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33780@lists.php.net to get a copy of this message
This is true, but not complete. You can also do <form method="get" action="whatever.php" ... It will result in a get, as show like this: add.php?var=foo&varb=bar, but, you don't have to format this URL yourself. Jeremy > > Well if you aren't posting to your add.php page (ie method="post" > action="add.php") then you need to pass them via the add.php?var=foo&varb=bar > method. > > --Joe > > > On Wed, Jan 10, 2001 at 12:02:54PM -0800, jeff fitzmyers wrote: > > I am working on the nice tutorial at > > http://designmagick.50megs.com/postgresql-tutorial/ > > > > I have my test.php and add.php pages created and just > > can't seem to pass variables to the add.php page > > -- not even simple things like $user! > > > > phpinfo() shows HTTP_POST_VARS["firstname"] = Jeff so > > php knows about the vaariables but > > doesn't seem to tell the new page. > > > > What am I doing wrong?? > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Photos - Share your holiday photos online! > > http://photos.yahoo.com/ > > > > -- > > 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 > > --- > Joe Stump > PHP Programmer > www.Care2.com > > > -- > 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 (#33780) next »