RE: [PHP] Help on dealing with arrays of HTTP_POST vars

2002-04-15 Thread Matt Schroebel
> -Original Message- > From: Carlos Fernando Scheidecker Antunes > [mailto:[EMAIL PROTECTED]] > > function SearchOrders() { > global $Orders; > global $HTTP_POST_VARS; > > $index = count($HTTP_POST_VARS); > > for($i=1; $i <= $index; $i++) { The trouble is here . You sh

[PHP] Help on dealing with arrays of HTTP_POST vars

2002-04-15 Thread Carlos Fernando Scheidecker Antunes
Hello All, I have developed a system to retrieve data from a table. The interface is a dynamic list of orders created from a query on the database that shows all the new orders. Next to each is a checkbox. Each checkbox has as its value the order number and is called PED1, PED2, PED3,PEDn,...

Re: [PHP] Help on dealing with arrays of HTTP_POST vars

2001-12-19 Thread Jim Lucas
in your SearchOrder() function change the for() to a foreach() Jim - Original Message - From: "Carlos Fernando Scheidecker Antunes" <[EMAIL PROTECTED]> To: "PHP-GENERAL" <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 10:15 AM Subject: [PHP] Help on

[PHP] Help on dealing with arrays of HTTP_POST vars

2001-12-19 Thread Carlos Fernando Scheidecker Antunes
Hello All, I have developed a system to retrieve data from a table. The interface is a dynamic list of orders created from a query on the database that shows all the new orders. Next to each is a checkbox. Each checkbox has as its value the order number and is called PED1, PED2, PED3,PEDn,...