•
•
•
•
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 423,461 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 4,832 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: 1443 | Replies: 1
![]() |
hi everyone, I'm wanting to make a simple blogging system, where a user can create their own blog.
But I also want a user to be able to create multiple blogs. This means that one person can have many blogs and also many people can have one blog. I'm wondering the best way to store this information in the database. I'm thinking one big table for all the posts, but how can I map a specific post to the specific blog of a specific user?
I thought about using something like how wordpress uses table prefix, but that requires that I make my queries dynamically and all my research says this is a bad idea. but then how am I supposed to implement this?
can this be done in one database?
thanks
-SelArom
But I also want a user to be able to create multiple blogs. This means that one person can have many blogs and also many people can have one blog. I'm wondering the best way to store this information in the database. I'm thinking one big table for all the posts, but how can I map a specific post to the specific blog of a specific user?
I thought about using something like how wordpress uses table prefix, but that requires that I make my queries dynamically and all my research says this is a bad idea. but then how am I supposed to implement this?
can this be done in one database?
thanks
-SelArom
You are somebody, just as I am somebody... but in the end, when you REALLY think about it, we are all nobody...
![]() |
•
•
•
•
•
•
•
•
DaniWeb Database Design Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
apple avatar backup breach computer creative daniweb data protection database design engine france google government hacker howto ibm illustrator internet leopard linux medicine microsoft navigation news normalization open operating operating system os photoshop print research search security server source sql survey switching system technology toread torvalds tutorials upgrade vista web windows xp
- memory management in wndows 2000 (Windows NT / 2000 / XP / 2003)
- C++ Operating System (C++)
- Schema information (ASP.NET)
- DB Schema Export/Import Help (MS SQL)
- parsing error (XML file-java-schema) (Java)
- Help with a journal online (Geeks' Lounge)
Other Threads in the Database Design Forum
- Previous Thread: Rational Rose
- Next Thread: problem with naming intersection entity!



Linear Mode