Dear cake,

I'm deciding which php framework to use for a pretty big project.
I'm pretty fluent with code igniter but i'm looking to switch to cake
php or symphony because they are simply on another planet, features
and codewise.

I was following the tutorial but I've encountered a problem: the form
won't validate, everything has been set according to the tutorial and
everything works except for the fact that sending an empty form
doesn't return any error at all and saves empty title and body
fields.
I understand that:

if ($this->Post->save($this->data)) {}

but the validation section in the documentation states this command:

if ($this-Post->validates()) {}

What of the two is right, can you tell me what I'm doing wrong?

Thank you very much

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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