Last active
August 29, 2015 14:00
-
-
Save tristar500/11426832 to your computer and use it in GitHub Desktop.
Zend DB Update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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