$AddRecord6 = mysqli_query($con,"INSERT INTO tbl_t_records(PerformanceID,QuizID,ProjectID,ExamID,AttendanceID,fuck)
VALUES(LAST_INSERT_ID(),LAST_INSERT_ID(),LAST_INSERT_ID(),LAST_INSERT_ID(),LAST_INSERT_ID(),'1')")or die(mysqli_error($con));
I cannot Use Multiple LAST_INSERT_ID() it only permits the first LAST_INSERT_ID() and I cannot use the MAX(id) because it is not good