Jump to content

[SOLVED] What do you do if u got a many to many link with tables?


SirChick

Recommended Posts

you need an intermediate link table

 

[pre]

user          useritem        item

---------    -----------      ---------

id    --+    id          +-- id

name    +--<  user_id    |  name

              qty        |

              item_id  >--+ 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.