Jump to content


Display data from the same table and save into another table

multiple section dropdown

  • Please log in to reply
No replies to this topic

#1 hkachhia

hkachhia

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 28 November 2020 - 09:41 AM

Hello 

 

I have one table Product, In this table below fields: 

 

Product code

productname

linked_prodct

etc..

 

 

So, here I want to display productname in add as link product and allow user to select multiple products 

 

For example in add, user going to add new product Apple, so user fill up all require information and at end of the add form, user can link multiple products from the dropdown such knife, fork etc . 

knife and fork already added in the product table. 

 

When user add new product apple all the information save in product table and link proudct id save as comma separated in linked_prodct field in the same table. 

 

So, Can you please help me how to achieve this? 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users