Im writing a database for departmental equipment loans for my university as my final year project. Im an electronic and electrical engineering student with a larger interest in software than hardware as \Ive discovered over the few years of my degree.
For my final year project as said earlier i need a php interface with mysql back end.
I have written the basic database however now Im coming to writing the php to enter information into the database I have come unstuck on one thing. How do I enter into a field that is a foreign key referenced from another table mysql throws a wobbly when doing anything I have tried. So far Im kind of working around it but how do I go about using this properly.
Thanks in advance Edd
For my final year project as said earlier i need a php interface with mysql back end.
I have written the basic database however now Im coming to writing the php to enter information into the database I have come unstuck on one thing. How do I enter into a field that is a foreign key referenced from another table mysql throws a wobbly when doing anything I have tried. So far Im kind of working around it but how do I go about using this properly.
Thanks in advance Edd