Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2005
    Posts
    46

    Unanswered: Listing Table....overflow to another page

    I guess my previous post got deleted.

    I have a large table of products. I currently have htem all printing out to a page but there are a lot of products and don't want the user to have to scroll down all the way.

    Is there an easy way to have 10 items list, and then have links generated to show the rest? Meaning, automatically have Page 1, 2, 3, 4 etc.... created based on how many pages of products there are? The list is going to be changing, and I figure that php can do this without me having to create sepeate pages with seperate scripts.

    thanks, please let me know!

  2. #2
    Join Date
    Feb 2004
    Posts
    533
    You'll can use a PHP Paging Class to do this. Here's an article on DevArticles about Building A Dynamic MySQL Paging Class With PHP

    you can find several examples and pre-configured classes for data results paging. Try a search on 'paging class PHP' for starters if you want to find more examples.
    ~

    Bill

  3. #3
    Join Date
    Apr 2005
    Posts
    46
    awesome, it looks good— although pretty intense. Is there anything "for dummies" that might help me out with undestanding the coding that goes with it?

    I appreciate the link though!

  4. #4
    Join Date
    Feb 2004
    Posts
    533
    Quote Originally Posted by lukeMV
    Is there anything "for dummies" that might help me out with undestanding the coding that goes with it?
    That is the challenge. Reading is a good place to start to learn the basics, Try 'Sams Teach Yourself PHP in 24 hours' or Beginning PHP... Also.

    Visit the PHP sites www.phpfreaks.com www.phpbuilder.com

    Bookmark the PHP.net site and use the documentation. http://us3.php.net/manual/en/

    Get a good PHP editing program.
    http://www.mpsoftware.dk/phpdesigner.php
    http://www.php-editors.com/review/?editor=98
    ~

    Bill

Posting Permissions

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