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,
-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 should be
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,
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 dealing with arrays of HTTP_POST vars
4 matches
Mail list logo