Jump to content

Recommended Posts

Posted

i have stucked with a strange probleme, i want to update timedate field with NULL value .
 

$line['status'] = $status;
$line['date_closed'] = null ;
$this->Record->update("nh_quotes", $line, $fields);

the datetime is not saved with null . when i change it from phpmyadmin it save correctly .

 

i'm missing something ?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...