Skip to content

Instantly share code, notes, and snippets.

@tristar500
Last active August 29, 2015 14:00
Show Gist options
  • Save tristar500/11426832 to your computer and use it in GitHub Desktop.
Save tristar500/11426832 to your computer and use it in GitHub Desktop.
Zend DB Update
$data = array(
'manual_nm'=>$manual_nm,
'manual_acronym'=>$manual_acronym,
'legacy_carrier_id'=>$legacy_carrier_id,
'department_id'=>$department_id,
'owner_nm'=>$owner_nm,
'collected_dt'=>$collected_dt,
'collected_by'=>$collected_by,
'drive_nm'=>$drive_nm,
'trk_num_txt'=>$trk_num_txt,
'fedex_received_dt'=>$fedex_received_dt
);
$manual_table = new Application_Model_DbTable_Manual();
$where = $manual_table->getAdapter()->quoteInto('manual_id = ?', (int) $manual_id);
$manual_table->update($data, $where);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment