Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6319389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:47:55+00:00 2026-05-24T15:47:55+00:00

I was building a forum website but I could not decide how to create

  • 0

I was building a forum website but I could not decide how to create Mysql structure of it. Just like in here, a user asks lots of questions and users answer them many times and none of them is overwriten if they answer more. So, would i create a table for questions and answers table for forum websites. Would not they be overwriten if i create just one table for questions and answers table for each user?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T15:47:56+00:00Added an answer on May 24, 2026 at 3:47 pm

    User Table:

    user_id (int, auto_increment)
    username (varchar)
    password (varchar, 32 (md5))
    email (varchar (to recover password))
    

    Forum Table:

    forum_id (int, auto_increment)
    forum_title (varchar)
    forum_category (int)
    

    Forum Subcategory:

    forum_subcat_id (int, auto_increment)
    forum_id (int)
    forum_subcat_title (varchar)
    forum_subcat_description (text)
    

    Forum Threads:

    thread_id (int, auto_increment)
    thread_title (varchar)
    thread_body (text, regular thread format)
    forum_subcategory (int, where it belongs)
    posted_by (int, the user that posts the thread)
    posted_on (int, timestamp of the time the thread was posted)
    

    Comment Table:

    comment_id (int, auto_increment)
    comment_body (text, comment text)
    thread_id (int)
    commented_by (int, user_id)
    comment_time (int, timestamp of the time the comment was posted)
    

    just giving you a broad idea what it should look like, of course you can add more features like rating system, polls etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a website with very small amounts of Javascript, just to add things
I'm building a community website where users sign up and create profiles. Now when
I am building a new website where a user can login. I see three
I'm building a website with codeigniter and I'm creating a form for user submission.
I'm building a website that uses jQuery for things like Modals and form validation.
I'm building a website with codeigniter (PHP) and I'm looking for a forum easy
I'm building a wholesale order form on a website. The current plan is to...
im building a forum and now im gonna code the thread page. is there
I'm building a basic forum where every post contains some text, first and last
In my forum that I am building, I want to get information about users

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.