[SOLVED] Update problem with foreign key |
Hi community.
During the development of a project I get an error which I cannot solve. The error message is: _______________________________________________________________ mysqli_sql_exeption #1452 Cannot add or update a child row: a foreign key constraint fails ____________________________________________________________________ The associated controller function: PHP Code: public function update($id) The associated tables: (as images) HOMEGAMES USERS How to solve this error ? Any hints ? Greetings Kigh... |
Messages In This Thread |
[SOLVED] Update problem with foreign key - by Codinglander - 02-07-2021, 03:56 AM
RE: Update problem with foreign key - by paliz - 02-07-2021, 10:04 AM
RE: Update problem with foreign key - by Codinglander - 02-07-2021, 12:48 PM
|