miggs wrote:

> Thanks a lot for the quick response.  I really appreciate it
> I tried to use beforeSave and it ended up getting rid of my sql error,
> but it would not save any data.  So I added
> 
> if (empty($this->data['Story']['dateSend'])){
>    unset($this->data['Story']['dateSend']);
> }

Ensure that your use of beforeSave() returned true.  Not returning true 
would cause your model record save to be discarded.

-- 
BASIC: A programming language.  Related to certain social diseases
in that those who have it will not admit it in polite company.

--~--~---------~--~----~------------~-------~--~----~
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