MySQL error
Cannot add or update a child row: a foreign key constraint fails (`db_webmates`.`tbl_professor`, CONSTRAINT `dept_name_prof` FOREIGN KEY (`dept_name`) REFERENCES `tbl_department` (`dept_name`) ON DELETE CASCADE ON UPDATE CASCADE)
---------------------------------------------------------
Help me guys ... everytime i click the registration button that error occur. what should I do ?
Here are the screenshots ... Help me Please T_T