Przemysław Płyś Tue Jun 07 10:54:17 -0400 2011

Subject: Tabel with no primary key??

Hello,
i have two tables
players:
id, name, pasword, email
player_skills
player_id, skillid, value, count

and i have no clue how to combine thease two tables together.
Can anybody help me with that??

I know i could have add primary key to player_skills, but i don't want to do it, because this table is from server runing on computer and im creating web client.


Daniel Lowrey Thu Jun 16 12:19:43 -0400 2011

This topic is covered extensively on the Wiki's Associations page:
http://www.phpactiverecord.org/projects/main/wiki/Associations

(1-1/1)