I am trying to insert values into my comments table and I am getting a error. Its saying that I can not add or update child row and I have no idea what that means.
Also make sure that the foreign key you add is the same type of the original column, if the column you're reference is not the same type it will fail too.