Tuesday, March 1, 2011

Re: Can't Save to DB

How the database stores the values shouldn't matter. You can always
format it in your view file using the TimeHelper, or even the php
date() function directly (possibly tailoring it to the user's
locale).

On Mar 1, 5:16 pm, theweirdone <theweird...@gmail.com> wrote:
> So you were right. The problem was the date validation. I've fixed it, and
> it's now saving. The only annoying thing is that MySQL saves date in ymd
> format. I suppose I can live with that. Thanks everyone for all your help.
> I'll probably be back soon with another question. :-P

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: