Hi guys,
Thx for your time! saveField works like a charm indeed! I'll still
disable validations and see... just out of curiosity!!
Again, Cheers to both of you for your time!
Seb.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
Mensaje original-
> De: cake-php@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']
--Mensaje original-
De: cake-php@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&
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