Query:
INSERT INTO `job_listing_has_employer_details` (`job_listing_id`, `employer_details_id`)
VALUES (6, '5')
Error:
Cannot add or update a child row: a foreign key constraint fails (
mydb.job_listing_has_employer_details, CONSTRAINTjob_listing_has_employer_details_ibfk_2FOREIGN KEY (employer_details_id) REFERENCESemployer_details(id))
What does this mean? The two ID's I am inserting into the table exist.