[eluser]NachoF[/eluser]
What would be the proper way of getting this done??
say you have products and receipts, N to N relationship so I have to use a separate table called products_receipts
and I have a product $p and a receipt $r, how would I check if those two are related in the join table??
Im thinking of
But im not sure if there is a way to get a true false response without having to access the attributes and just use the objects themselves.. kind of like a $r->is_related($p) that would give me true or false... any recommendations?