⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. Very soon this forum will be read-only and archived. ⚠


How to build this

relation 1:n n:n new

  • Please log in to reply
No replies to this topic

#1 holmesii

holmesii

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 13 June 2018 - 07:45 PM

I am very new to GroceryCrud, but I have been reading and coding for a couple of month with PHP. I'm having a problem to build a CRUD form like this, Can some one help me to give me general guidance and eventually help me out to finish the function? Thank you in advance!

 

Here is the final style I need. I need dynamically add the target. A similar example in bootstrap is here: https://bootsnipp.com/snippets/AXVrV

 

The final style would be like this:  17BD684F-4049-4CB3-B37C-128652FA28DD.png

 

I'm not sure which function or Table design I should use, or which one is better for my need. The first one is set_n_n_relation so I would have 3 tables and join them from the map table. 273D30BF-AC0D-4CC4-8E3E-2D01D2B21ACF.png

 

The second one is set_relation so that I only have two tables. ( I have no idea that I cannot post the third picture). Please see the picture from google drive. 

https://drive.google...iew?usp=sharing

 







Also tagged with one or more of these keywords: relation, 1:n, n:n, new

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users