I have a form that has dynamically created checkboxes for orders that have been put on hold for unapproved discounts.
echo "<input type = 'checkbox' name = 'check []' value = '".$ordernumber."'>";
but everytime I try to post to the form Holding3.php I get a error message:
Fatal error: Call to undefined function: array() in C:\InetPub\sales.starlinewindows.com\discount manager\Holding3.php on line 13
The code to accept the POST variable is:
$check = $HTTP_POST_VARS ("check[]");