Re: Re: REQUEST QUESTION

From: Date: Tue, 05 Mar 2002 17:41:40 +0000
Subject: Re: Re: REQUEST QUESTION
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-87305@lists.php.net to get a copy of this message
Hi Thanx, ----------- > <input type="hidden" name="order [1]" value="10"> > <input type="hidden" name="order [2]" value="20"> > > > On the nest page you just do > > echo "The first order is ".order[1]." and the second order is ".order[2]; ---------- But that is what I cannot do. I cannot change the name of the order to order[1] because that form is not in my control. I want both the order with its values. Any other suggestions please. Regards, karthikeyan. ----- Original Message ----- From: David Tandberg-Johansen <david@datajo.no> To: <php-general@lists.php.net> Sent: Tuesday, March 05, 2002 10:09 PM Subject: [PHP] Re: REQUEST QUESTION > > > "Karthikeyan" <karthikeyan@aspiresys.com> skrev i melding > news:002601c1c461$cfa08580$0600a8c0@aspire006... > Hi Guys, > > I allready posted this question in detail but I believe I didn't explain > it properly. > > There are 2 hidden variable in my FORM. > > 1. order = 10 and 2. order=20 > > I want to retrieve both the orders in the next page say somename.php. How > do i do that. > > Regards, > > karthikeyan. > > You must put the in a array like this > > <input type="hidden" name="order [1]" value="10"> > <input type="hidden" name="order [2]" value="20"> > > > On the nest page you just do > > echo "The first order is ".order[1]." and the second order is ".order[2]; > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#87305) next »