Update mysql query example in zend framework

protected $_name = 'tbl_attribute';
$data = array( 'attribute_name' => $attribute_name,'attribute_set' => $attribute_set,
'attribute_status' => $attribute_status);
$this->update($data, 'attribute_id = '. (int)$attribute_id);

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *