Dear Mark, Thanx for your reply.
The solution you mentioned I knew it allready but i cannot change the name of order to order[] or something else but i still want to know is there any other way i can solve this issue. I got so many anwer saying that it is not possible I wonder why because PHP is supporting so many feature why not this. In Java and Cgi-Perl it is very simple why not in PHP that's my question. In java i use : (works for both GET and POST) public Enumeration ServletRequest.getParameterNames() - for getting all the names public String[] ServletRequest.getParameterValues(String) - for getting all values for the given name ( this is the one which accomplishes my job, gets both order's values) I am very sure that there must be some solution to this but I don't know how to do this in PHP. I have one solution using GET method but not with POST. Looking forward for solution to this issue. Regards, karthikeyan. ----- Original Message ----- From: Mark and Suzette <[EMAIL PROTECTED]> To: Karthikeyan <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 6:16 AM Subject: Re: REQUEST QUESTION > > What you want to do is change the hidden fields names to order[] = 10 and > order[]=20. This way you are generating an HTML array. PHP can then handle > both values being assigned ($order[0], $order[1]). If you don't create an > array, value 20 will cancel out value 10 (well should anyway). > > > ----- Original Message ----- > From: "Karthikeyan" <[EMAIL PROTECTED]> > Newsgroups: php.general > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 05, 2002 10:21 AM > Subject: REQUEST QUESTION > > > 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. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php