•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 455,865 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,649 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser: Programming Forums
Views: 914 | Replies: 5 | Solved
•
•
Join Date: Jul 2008
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
Hi!
so I am trying to design a relational database and I think I am on the right track, but I am a little confused as to how I will actually update the data...
Normally I build a flat file table and use a web form to add/update/delete data, however, I am trying to build a larger database and this is no longer practical...
This is still not too complex, I think I can accomplish what I want with three tables...
Here is what I have so far:
tbl_Poems:
- poem-ID - pk
- Poem-Title
- Poem
- Author-ID - fk
- Book-ID - fk
tbl_Author:
- Author-ID - pk
- Author-Name
tbl_Book:
- Book-ID - pk
- Book-Name
Obviously I want to create a database containing poems. On the website the user can read the poem. I want them to be able to search by Poem, Author, or Book.
So if this is the proper database design how do I actually input the data using only 1 form?
If this is not correct can someone help me design the tables better and instruct me on how to make this updateable using only 1 form?
Any input or help is really appreciated!
thanks!
so I am trying to design a relational database and I think I am on the right track, but I am a little confused as to how I will actually update the data...
Normally I build a flat file table and use a web form to add/update/delete data, however, I am trying to build a larger database and this is no longer practical...
This is still not too complex, I think I can accomplish what I want with three tables...
Here is what I have so far:
tbl_Poems:
- poem-ID - pk
- Poem-Title
- Poem
- Author-ID - fk
- Book-ID - fk
tbl_Author:
- Author-ID - pk
- Author-Name
tbl_Book:
- Book-ID - pk
- Book-Name
Obviously I want to create a database containing poems. On the website the user can read the poem. I want them to be able to search by Poem, Author, or Book.
So if this is the proper database design how do I actually input the data using only 1 form?
If this is not correct can someone help me design the tables better and instruct me on how to make this updateable using only 1 form?
Any input or help is really appreciated!
thanks!
•
•
•
•
•
•
•
•
DaniWeb Database Design Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
amd avatar backup blue gene breach chips creative daniweb data protection database design development dos energy enterprise europe government hacker hardware ibm ibm. news illustrator it linux medicine memory microsoft navigation news open source openoffice pc photoshop print ps3 recession red hat research security server sql sun supercomputer supercomputing survey tutorials ubuntu web working x86
- Database Design (Computer Science and Software Design)
- Total noob question (Database Design)
- Cities and Districts DataBase - Basic Question (Database Design)
- automated database design (Database Design)
- Advanced mySQL Querys (PHP)
Other Threads in the Database Design Forum
- Previous Thread: Stored Procedures / Functions
- Next Thread: need help with subtype supertype



Threaded Mode