I'm trying to send some form data to two SQL tables. Below is the code I have. When I use the code below, it's showing that the information was successfully added. I go to the database and it adds the info to the restaurant table, but the "food" info is not added to the food type table.
Also, one final thing. 'Restaurant' is a foreign key in the food type table. How do I note that in the code below?