i have an update query that i am getting error
Message: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
i would like to have my query display so that i could debug it. any ideas how to do this
EDIT:: on my page.php model i have and Page model extends Zend_Db_Table_Abstract
public static function updatePage($data, $id)
{
$row = new self();
$row->update($data, "page_id = ?".$id);
}