0

How to insert data in a foreign key

How do I insert/ create data in a foreign key using php connected to a mysql server

5th May 2021, 8:42 AM
thatstupidcoder
thatstupidcoder - avatar
1 Odpowiedź
+ 12
You can insert data in a column with a foreign key constraint just like in any other column. A column with a foreign key constraint accepts a row identifier from another table.
12th May 2021, 5:48 AM
Igor Makarsky
Igor Makarsky - avatar