I have two files:
batch
batchitems
The batch table has a batchID field that is an autoincrement that has been stored in a $_SESSION variable
The batchitems has a batchID field that is designed to provide a relational link to the batch table.
However:
$tableColumns['batchID'] = array(
'display_text' => 'Batch #',
'perms' => 'EVCTAXQS',
'default' => $_SESSION["last_batch_id"]
);
Doesn't work.
What am I doing wrong?