can give me more specific example and link? i don’t know how to start it by save a array in db. Currently it always overwrite the previous company_id info in User table when i save new record. How to save a record if user is allow have more than 1 record in company_id User table.
User table
id name company_id
1 Tom 1 //currently it always overwrite when save new record using Tom name
2 James 3
User table
id name company_id
1 Tom 1;2 //the array record that wanted to save in db
2 James 3