A
Anonymous
Guest
I have 3 tables, the table of speaker has speaker ID, the table of workshop has ID but it has foreign key of speakerID and locationID, and table of location has locationID. I don't know how to use php to add those two foreign keys (speaker ID) and (locationID) into table of workshop?
It is easy to add records into a single table, they will be incremented automatically, but how to tell the foreign key in the table of workshop be matched automatically to the table of speaker and location? This is the always question that I am still doubting how do I make the foreign keys in the table of workshop to match up other two table(speaker and location). Does anyone knows about it? Thanks.
Beckmann
It is easy to add records into a single table, they will be incremented automatically, but how to tell the foreign key in the table of workshop be matched automatically to the table of speaker and location? This is the always question that I am still doubting how do I make the foreign keys in the table of workshop to match up other two table(speaker and location). Does anyone knows about it? Thanks.
Beckmann