How to insert console.log(res) data to database using php mysqli

exactly same code I have used whatever u sent…but once user click on link it goes to either lounch website in browse or download zoom…once user enter his name and password it will wait for host to admin it…but the attendee name automatically not inserting it to database…