Thanks for your help.
But i still have problems with multiple contains with same name.
I have no problem to access the data using $results->table_b->table_a…etc…
But, i have to order my result, and I’m getting the error: "Unknown column TableA.name ".
When I debug the query, the JOIN associatiation “TableB.TableA…and…TableC.TableA” is not there.
Very strange.
Thanks a lot