Newbie needs help with setting up database

Discussion in 'MySQL' started by Mooseman, Mar 31, 2007.

  1. #1
    I need some help here..
    I want to have a database where I can store "articles" that I display on my page, and I want to have so that people can comment on each article.
    So it gotta display the comments to a specific article.
    How do I do?

    I have looked everywhere for help but I can't find any good tuts or anything.. I would really appreciate if someone could help me out.

    I'm bad at explaining things.. but I hope you'll understand what I mean.
     
    Mooseman, Mar 31, 2007 IP
  2. yourihost

    yourihost Well-Known Member

    Messages:
    1,708
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    115
    #2
    Put the comments and the article name in the same row.
     
    yourihost, Mar 31, 2007 IP
  3. Mooseman

    Mooseman Peon

    Messages:
    453
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    okey.. but well I don't know how to do that.. :S
    I need some help
     
    Mooseman, Apr 1, 2007 IP
  4. Pat Gael

    Pat Gael Banned

    Messages:
    1,331
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Pat Gael, Apr 1, 2007 IP
  5. Mooseman

    Mooseman Peon

    Messages:
    453
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks, that tut helped me.
    But the thing is, now I got one row for comments and one that I store images in the database. How do I make so the comments is only on a specific image and how do I display it?
    I can't find that anywhere, I only find the same old tuts about displaying or setting up a database with a single table etc..
     
    Mooseman, Apr 1, 2007 IP
  6. mok123

    mok123 Peon

    Messages:
    105
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hi,
    there's no need to know mysql or some other databases, Just use a cms like joomla or drupal and you're done.

    Abdel.
     
    mok123, Apr 1, 2007 IP
  7. Mooseman

    Mooseman Peon

    Messages:
    453
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I don't even know what cms is so I guess I'll learn using databases instead..
    Could anyone help me out, or post any good tuts that explains what I need?
     
    Mooseman, Apr 1, 2007 IP
  8. mok123

    mok123 Peon

    Messages:
    105
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Sorry if you don't understand me,
    a cms is a content management system it uses a database to store all your articles and comments, etc.. You don't even need to know how a database works. But if you want to learn how a database works you know what to do.
    Abdel.
     
    mok123, Apr 1, 2007 IP