Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    PA
    Posts
    93
    Thanks
    0
    Thanked 0 Times in 0 Posts

    mysql news storage

    Hi,
    I'm creating a news site and each news article will have different sections/title to them... 1 article may have 5 sections while another might have 10 ... each section should be on its own page. This is how i would prefer the pages to be called

    www.mysite.com/article.php?newsid=6&p=1
    where newsid is the article and p is the page

    can someone please give me a idea how i could store this into my mysql database? I'm having trouble finding out the best way to do this because since there are different amounts of sections for each article that would leave certain sections in my mysql database blank which probably would hurt performace

    ANY help would be appreciated

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Do not double post your questions:

    news website question
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •