|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Currently, I am working on a forum it is just a simple forum for members can post and reply messages and members can edit and delete their own messages, but my MySQL knowledge is still weak, and I don't how to design it to be appropriate such as how many tables I gonna have or what fields suppose to be included in each tables. I really need you guys help to construct this database. I am grateful to those who share the times and affords to help me in this issue. Thanks all in advance.
|
|
#2
|
|||
|
|||
|
Sorry! I cannot help you cause I am looking for the same thing as yours. Hope someone in this forum might help you.
|
|
#3
|
|||
|
|||
|
start by breaking it down into sections,....
big things,.... categorys forums reply post then look at what would be needed in those sections. lets start with categorys... cat_id (auto int) cat_name (varchar) cat_order (int) for sorting the categorys then move on to forums,... notice the very first part here. forum_id (auto_int) cat_id (int) relative key from category table. see where this is going?
__________________
-- Jason |
|
#4
|
|||
|
|||
|
In creating tables how do you know what types to choose?
cat_name (varchar) How can I tell that the cat_name needs to be varchar. |
|
#5
|
|||
|
|||
|
Read the documentation on the mysql site about the different column types...
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#6
|
|||
|
|||
|
whoa! thats a big job, even if its simple,
what you need to do is firstly read up on some articles on mysql and creating databases, and database structures. This will give you a bit more knowledge on the matter. Once you have done that I would suggest writing out your design on paper, drawing how each table links to each other Just off the top of my head, heres some tables you will need to get your forums started members - containing the member info, etc thread posts forums - contains data on the forum the threads are in, also contain a parent thread id, that way you can have a linking effect like at our forums, where theres the programing forums, then that breaks into php, asp, etc... then if you want more advanced info, things like pm, etc |
|
#7
|
|||
|
|||
|
Do we have any tut regarding to this? Please let me know if we had any. Thanks!
|
|
#8
|
|||
|
|||
|
I have designed my own forums,......and let me just say that it is not easy,...lol,....it takes alot of time and patience and planning.
|
|
#9
|
|||
|
|||
|
Quote:
Could you please teach me how to do it? or just give me your planning in order I can have a foundation to start with. I really love to create one but not as complicated as vBulletin. But at least I can integrate it into other stuffs of my site. Thanks Taelo! |
|
#10
|
|||
|
|||
|
wareseeker,
I have found this, it may be what you are looking for... one method of implementing a simple forum http://www.easysoft.com/tech/php/tut_002/main.phtml |
|
#11
|
|||
|
|||
|
Quote:
The tutorial on the MySQL documentation (I think it's chapter 3) is a good place to start if you're not too familiar with SQL. also DevShed.com has some good MySQL tutorials. |
|
#12
|
|||
|
|||
|
Quote:
I don't see any tut which regards to my question. Please have a specific link in other to make someone going easy. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Database Development > How To Design Forum's Structure Databases? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|