I am trying to use a one to many relation. I have two tables, admin and business components. Each admin user can add their own business components. So I want to use the admin's email as the key as to what business components to view in the datatable. When I try adding a new bus comp with save, I get "AN ERROR HAS OCCURRED ON INSERT". I am not sure why but I am not too good on mySQL. Any ideas?
thx