View Single Post
  #4 (permalink)  
Old 07-03-2008, 10:50 AM
Martin Hujer Martin Hujer is offline
Member
 
Join Date: Mar 2007
Posts: 41
Default

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
Reply With Quote