How do I insert checkbox value multiple rows fetching data from database and merge data as one row in SQL PHP? How do I insert in checkbox value multiple rows fetching data from database and merge data as one row in SQL PHP?