Look carefully at the source of generated HTML 1984-04-16 gets
converted to 1984-04-16 after you do cleanArray($this->data);

HTH

T
-- 
=============================================================
PHP for E-Biz: http://sanisoft.com
Cheesecake-Photoblog needs you!: http://cheesecake-photoblog.org
=============================================================


On 5/8/07, sanjeevdivekar <[EMAIL PROTECTED]> wrote:
>
> Hello Everybody,
>
> When I am storing date column value(1984-04-16) in mysql data in date
> column field it is storing perfectly but when I use cleanArray value
> is displaying perfectly using setFlash() but not storing in database.
>
> Code is as bellow
> **************************************************************************************************************
> $mrClean = new Sanitize();
> $mrClean->cleanArray($this->data);
>
> $this->Member->save($this->data);
> $this->Session->setFlash($this->data['Member']['dob']);
> // showing 1981-04-16 but not storing in database
> **************************************************************************************************************
>
> if I comment line no 2 it works perfectly.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to