Yes I did use $HTTP_POST_VARS but it removes duplicate values. Say if there are two hidden variables
1. order= 10 2. order= 20 I get order=20 the last one but i want both. I need both. Regards, karthikeyan. ----- Original Message ----- From: Jason Wong <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 05, 2002 9:18 AM Subject: Re: [PHP] FORM RELATED QUESTION - I > > On Tuesday 05 March 2002 10:39, karthikeyan wrote: > > > how do i accomplish the same in php. > > > > I have one solution using GET method but I would really like to have it > > in POST because I am passing lots of values to this php file. > > > > ========== > > $ar=explode('&',$QUERY_STRING); > > > > foreach ($ar as $stritem) { > > if(substr($stritem, 0, 5) == "order") { > > $ordervalue = substr($stritem, 6); > > echo "\n<input type=\"hidden\" name=\"order\" value=\"" . > > urldecode($ordervalue) . "\">\n"; } > > } > > ========== > > I don't fully understand your question and what your problem is. Taking a > stab in the dark, did you want to retrieve the values resulting from a POST? > > If so then use: > > $HTTP_POST_VARS (php <= 4.06) > $_POST (php > 4.06) > > > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > > /* > Small things make base men proud. > -- William Shakespeare, "Henry VI" > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php