Now I want to auto fill junction table (
j_ID, demo_ID, user_ID)
WHERE j_ID is auto-incremented.
id of the form filled in last step by user
user_ID is logged in user(from $_SESSION['user'])
System working: USER LOGIN -> USER FILL FORM (btn SUMIT) -> junction.php(where the data will insert to junction table) -> location(personal cabinet)
Please help me with handling this.