Hello everybody,

This is the first time that I write on. I have working with seven tables, but the wrong when I execute an "insert" is= Cannot add or update show a child row: Error: foreign key:

This is a wrong that it was generated, however before that I changed the code in phpmyAdmin (I added the propierities "ON DELETE ON UPDATE", because the ER-model generated foreign keys, but I don't know how to use the specific functions to their), the tables added the rows without errors . Thank you for your atention.

You are trying to insert a child record for which no entry exists in the parent table.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.