I have to build a solution in php/html which includes being able to drag and drop items from one list to others.
Basically I have a static list "subjects" which contains information like:
Subject id | Subject name
Then I have classes with x number of sessions.
Based on the number of sessions i.e if there are 3 sessions i want to create three lists, namely session1, session2, session3 and be able to drag and drop subjects from the subjects list into the sessions. When I drag a subject it shouldn't disappear from the subject list, but it should be a copy.
You shouldn't be able to drag twice the same subject to a session and there should be an "x" to delete a subject dropped in a specific session.
Session 1 | Session 2 | Session 3
Maths Literature Chemistry
At the end I want to have an array or json or whatever that stores the session nr, subject id's in it and the order in the list.
Smth like this: [url removed, login to view]