Which is best and easy way to program and show many to many relationship in databse

Posted by Mirage on Stack Overflow See other posts from Stack Overflow or by Mirage
Published on 2010-06-18T03:45:08Z Indexed on 2010/06/18 3:53 UTC
Read the original article Hit count: 200

Filed under:
|
|
|

I have two quantities Cat A , CatB

Now the items in Cat A can belong to many items in CatB. and CatB will also have many Items from Cat A.

I thinking of having Table1 for Cat A , Table2 for CatB and Table C for relation ship.

with

PK-A  , PK-B

Is that correct.

How should i make my form in html so that user can select multiple values. Currently i am using select box

Any ideas

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql