Thursday 30 June 2005 1:16:45 pm - 3 replies
Hi,
I am trying to fill a certain field of a persistent object with "NULL" but it does not work out... How can I do this. Filling the field with a "0" value works fine.
From func definition
"expires" => array( 'name' => "Expires",
'datatype' => 'integer',
'default' => null,
'required' => false )
)
Code that does not work for me to insert null data in db...
$mypersistentobject = new mypersistentobject( $row ) $mypersistentobject->setAttribute( 'expires', null ); $mypersistentobject->store();
thx
You must be logged in to post messages in this topic!