>
>
>
> $table = 'products';
> $data = array('prd_qnty' => new Zend_Db_Expr('prd_qnty + 1'));
> $where[] = $db->quoteInto('pr_id = ?', $this->pr_id);
> $db->update($table, $data, $where);
>
>
Hi Karwin
Thanks for ur help again..
Regards
Anees
--
View this message in context: http://www.nabble.com/How-to-Increment-a-field-by-1-using-Update%28%29-tp19161309p19174222.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论