Results 1 to 9 of 9

Thread: Multiple Pages

  1. #1
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755

    Multiple Pages

    Hi there,

    Would anybody be kind enough to tell me how you split an article or any other piece of content, into pages, like done on this site.

    From what i've seen, it's done in PHP - but how please?

    Mike

  2. #2
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    You basically have 2 tables in your db.

    One table is called articles and has article information like who the author is (authors is a third table) the article title, publication date, abstract, category, etc.

    The other table is called pages, it has ArticleID, PageID, PageNum, PageTitle, PageAbstract, and PageText
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  3. #3
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    So do you enter the text in a different form for every page?

    Thanks,
    Mike

  4. #4
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    Yes
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  5. #5
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    Thanks Chris.
    Don't you just love free internet games ?

  6. #6
    Junior Registered
    Join Date
    Oct 2005
    Posts
    2

    More info

    I am trying to split up an article into multiple pages, with the next, previous buttons and the 1 2 3 4 etc buttons.
    Can anyone explain further on how to do this with 2 database tables as mentioned above? I am not a PHP/MySQL expert, so I have a hard time coming up with database design/layouts and setting up the PHP for it. I know basic PHP and have set up a membership system and learned some techniques on filtering and so on.
    Also, I might need some help with the PHP as well, with setting up the next, previous and number section to navigate through the article.
    Any additional help would be great!
    Thanks!

    -Steve

  7. #7

  8. #8
    Junior Registered
    Join Date
    Oct 2005
    Posts
    2
    That is article is helpful, but it says that 'The entire code for this article is available in the support material link on the last page'. There is no link for this though.
    It makes it harder for me because I am not too familar with getting the JavaScript to work with the form items (textfields/buttons). That article doesn't even cover all the code, like the up/down buttons, clear content, update page, etc.
    I am not an expert in PHP/MySQL/JavaScript, so I can't complete this on my own. I am learning little by little, but it is tough on my own.
    Is there a link to the entire code for that article or can someone help me fill in the blanks?
    Thanks for posting that article, it got me pointed in the right direction.

    -Steve

  9. #9
    Fine, then read it from the original source where it was reprinted from:
    http://www.interspire.com/whitepaper...PHP%20or%20ASP

    There was a link on that article to the site. And it is the full code, I know, I used that article to teach myself multi-page CMS work originally which is why I know it is the full code.

    The article was linked here to show you an example of how it's done more than say here it is already done for you.

    You still have to figure out how to let people edit an article using this technique.
    Roger Stringer - freekrai.net
    DBStract - Build Virtual Databases

Similar Threads

  1. 1500 pages PR6 website for sale
    By sunny in forum The Marketplace
    Replies: 13
    Last Post: 10-30-2004, 06:34 AM
  2. How much is links from several PR9 pages worth?
    By incka in forum Search Engine Optimization
    Replies: 29
    Last Post: 05-12-2004, 03:09 AM
  3. I Need Proofreading Help On My Ad Pages
    By Bobson in forum User Owned Websites
    Replies: 5
    Last Post: 03-12-2004, 02:18 PM
  4. Local Rank stuff...
    By chromate in forum Search Engine Optimization
    Replies: 41
    Last Post: 02-07-2004, 03:53 PM
  5. multiple sites + amazon and cj.com ?
    By s2kinteg916 in forum Advertising & Affiliate Programs
    Replies: 5
    Last Post: 11-23-2003, 09:41 PM

Bookmarks

Posting Permissions

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