posted 8 years ago
I have a web app I'm building that uses ajax to have basic CRUD functionality. When trying to add an animal to the database, it adds all the fields except for the food_id which is a foreign key reference to a separate table. How to I get it to post the foodId as well?