⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Relation 1_n inverse



mordenes81

mordenes81
  • profile picture
  • Member

Posted 13 March 2012 - 01:10 AM

I'm showing the USER table (id, name, last name, email, state, university) and I want to make a relation with the GAMES table (id, uid, score, score1, score2, score3, timestamp, session) which has a foreign Key connected with USERS. I want to left join just the score data from GAMES table but the Crud relation is just to foreign Key to Primary Key, I need the inverse way Primary Key to Foreign Key. I don't have much experience in php so I already spent like 2 days trying to do this with callback but nothing yet.

Thanxxx!