You have modified your first post, but you had an zend_Config exception there.
Here you have problem with storing string ('resetcount + 1') to integer column. You should use
PHP Code:
$data = array('lastresettime' => time(),
'verifiedflag' => '0',
'resetcount' => new Zend_Db_Expr('resetcount + 1'));
It will probably work OK.
btw. wrap your code in , it is much more readable