This topic is locked

Many-Many Relationship in PHPRunner

6/9/2017 3:40:51 PM
PHPRunner General questions
L
lwthomas10 author

Hello, I watched an old video tutorial on setting up many-many relationship in PHPRunner, but it isn't coming out how I want. My structure looks like this:

_________

Documents

---------

Id

DocumentFile


__________________

DocumentAttributes

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

Id

Attriblute


______________________

Documents-DocumentAttributes

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

Id

DocId

AttributeId


Since I need each document to have several attributes, and for each attribute to belong to several documents, I need to setup a many-many relationship between the two.
My desired method would be for when the user edits or adds new documents, they would be allowed to select each wanted document attribute from a multiselect box. This would then populate the Documents-DocumentAttributes table.
Is this method possible in PHPRunner? If so, would someone be able to help me out?

Thank you!