I read that adding a 'created' DATETIME-field to a table will be
recognized and automatically filled whenever i save a new model to the
db, but at the moment it's just empty all of the time. It seemed to
work fine when i tested it on another model which i added through a
form on a webpage, but now i'm doing a POST-request from a flash-
app ... i don't think that should matter, but i don't know what i'm
doing wrong here.

What should i do or test to get this working? I have a DATETIME-field
called 'created' and i save the model with this line:

$this->Comment->save($this->params['form'])

All the other data is saved correctly, but the created-field is not
being filled
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to