On 06/06/2010 19:51, John Andersen wrote:
Have you added the Containable behavior to your model(s) or even
better to the AppModel? Like:
[code]
var $actsAs = array('Containable');
[/code]

Only after doing that, can you use it!

If you have done it, then please show the code of your find statement
including the contain conditions..
Enjoy,
    John

On Jun 6, 9:34 pm, Christopher Hanson<phpcoder2...@gmail.com>  wrote:
also i have been reading on containable and i just get SQL errors when i
try to use either $this->Model->contain() or in the params for find, any
ideas whats gong wrong?

--
Best Regards Christopher Hanson
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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
John....dont beat me with a bat....i forgot that bit :D lol how would you suggest i get the country data pulling right in my invoice data? if you dont mind me askin

thanks and ill try the above now.

Chris

--
Best Regards Christopher Hanson

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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