Change date format 11/12/2009 to 2009-12-11 in your datepicker or
change format before saving.
MySQL displays DATE values in ‘YYYY-MM-DD’ format

On Nov 12, 12:08 pm, jiru <jiransl...@gmail.com> wrote:
> hii,
>
> echo $form->input('issue_date',array('type'=> 'text','id'=>
> 'datepick'));
> this is my issue date input field in add.ctp.
> I'm displaying the default(current)date using jquery. It showing like
> 11/12/2009 in text field. In my MySql db the field is -- 'issue_date
> DATE'. After saving the data in database it shows the entry as
> 0000-00-00. What is the problem ? Please give me a solution. Where to
> I change ?

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-...@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=.


Reply via email to