groovygarden
Programmer
- Aug 23, 2001
- 63
I'm developing for a college so they can keep track of books published by academic staff members. The site is PHP with a mySQL database
On the page where an administrator can add a book to the database there is an option to select the author from all the authors in the database. My problem is, what if that author isn't in the database yet? Should I make the administrator add the new authors details straight away or should I get them to do it after they have entered the details for the book? I have to bear in mind that when they go to add the Author, they may well face the same problem again - for example having to add a new Agent that isn't in the database yet.
Basically I want to make sure that administrators don't add incomplete data to the database (ie: add a book, without adding its author or add an author without adding his/her agent) without causing the poor admin guy or gal a lot of hassle! Can any one think of a clever way to do this?! Thanks a lot
On the page where an administrator can add a book to the database there is an option to select the author from all the authors in the database. My problem is, what if that author isn't in the database yet? Should I make the administrator add the new authors details straight away or should I get them to do it after they have entered the details for the book? I have to bear in mind that when they go to add the Author, they may well face the same problem again - for example having to add a new Agent that isn't in the database yet.
Basically I want to make sure that administrators don't add incomplete data to the database (ie: add a book, without adding its author or add an author without adding his/her agent) without causing the poor admin guy or gal a lot of hassle! Can any one think of a clever way to do this?! Thanks a lot