}
$req = array(
- 'LINE', 'ITEM CODE', 'DESCRIPTION', 'QUANTITY'
+ 'LINE', 'ITEM CODE', 'DESCRIPTION', 'QUANTITY', 'AA'
);
$cols[] = false;
}
foreach($req as $r) {
if (!in_array($r,$cols)) {
+ print_r($r);
$cols = false;
break;
}
$rows[] = $row;
}
-
+ print_r($cols);exit;
if (empty($cols)) {
$this->jerr("could not find a row with " . implode(' / ', $req));
}