What do you get if you set recursive to 3?
On Nov 18, 7:53 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi, thanks for the reply =)
don't see how that matters, but sure
?php
class Person extends AppModel {
var $name = 'Person';
var $hasAndBelongsToMany =
I just get the same, as there are no more models associated =(
On Nov 18, 10:00 am, grigri [EMAIL PROTECTED] wrote:
What do you get if you set recursive to 3?
On Nov 18, 7:53 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi, thanks for the reply =)
don't see how that matters, but sure
Hello
I wonder if anyone can help me with a specific database design. I have
a database with pictures of people. A person may be on different
pictures, and a picture may have many people on it (so its a
HasAndBelongsTo relation with 3 tables...)
My problem is that, on a view of a person, I want
You should look into/post your model relationships, there are some
relevant things in there...
On Nov 17, 3:41 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hello
I wonder if anyone can help me with a specific database design. I have
a database with pictures of people. A person may be on
Hi, thanks for the reply =)
don't see how that matters, but sure
?php
class Person extends AppModel {
var $name = 'Person';
var $hasAndBelongsToMany = array('Picture');
}
?
?php
class Picture extends AppModel {
var $name = 'Picture';
var $hasAndBelongsToMany =