On Wed, Dec 17, 2008 at 1:48 PM, Rob <webwe...@gmail.com> wrote:
>
> All you need to do is check that you got something back from the
> saveAll, so you wrap it like:
>
> if ($this->User->saveAll($this->data)){
>   -- success
>   }
> else {
>   -- failure
>  }
>
> Then you can look at the error data in the failure section ...

Would you mind expanding on that just a bit? How would I look at the
error data?  In my case, I'd like to echo back an error message. What
structure do I look at to do so?

Thanks.

-- 
Rob Wilkerson
http://robwilkerson.org

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

Reply via email to