Yeah but it is much easier.

Just use this:
------------------------
if ($this->User->validates($this->data) && $this->User->Profile-
>validates($this->data)) { ...
------------------------

Done ^^


On Apr 1, 11:37 am, netusco <[email protected]> wrote:
> Hey great euromark!
>
> that was exactly what I needed, I didn't know php was saving time by just
> executing one of the statements if it was failling or maybe I knew it and it
> didn't ring the bell this time...
>
> so helpfull to have blogs like yours dedicated to fload the web of good
> examples really well explained and helpful at all times
>
> big thanks!

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to