Hi everyone,
I'm still experimenting with Cake and feel I'm missing something; upon
login, I do this;
$someone['User']['last_login'] = date('Y-m-d H:i:s');
$this-User-save($someone);
Which should be updating the last_login field with the current
datetimestamp; though it doesn't work. however
@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Seb
Enviado el: Martes, 05 de Diciembre de 2006 02:02 a.m.
Para: Cake PHP
Asunto: manually update datetime field...
I do this;
$someone['User']['last_login'] = date('Y-m-d H:i:s');
$this-User-save($someone);
Which should be updating
Diciembre de 2006 02:02 a.m.
Para: Cake PHP
Asunto: manually update datetime field...
I do this;
$someone['User']['last_login'] = date('Y-m-d H:i:s');
$this-User-save($someone);
Which should be updating the last_login field with the current
datetimestamp; though it doesn't work