Public paste
Casper
By: Xmoo | Date: Jan 17 2011 18:17 | Format: PHP | Expires: never | Size: 303 B | Hits: 939

  1. $test = $_POST['binnen'];
  2.             $_SESSION['ORDER_ID'] = $orderid;
  3. foreach ($test as $testes)
  4. {
  5. $sql = "UPDATE `ORDER_EMBALLAGE` SET STATUS = 'IN' WHERE ORDER_ID = '".$orderid."'";
  6.         $query = mysql_query($sql) or die(mysql_error());
  7. echo "Status van ".$orderid." is op ".$testes." checked";
  8. }