That is my update function:
$id = 5; $points = 100;
public function update($id, $points) {
$this->update(array('points = ?' => new Zend_DB_Expr('points + 1')), array('id = ?' => $id));
}
But, when I call this function an occurs error:
**SQLSTATE[HY093]: Invalid parameter number: no parameters were bound
It should have been