Results 1 to 2 of 2

Thread: split posts into pages

  1. #1
    Join Date
    Aug 2009
    Posts
    399
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default split posts into pages

    hi,
    I have guestbook with 45 comments. But they take a lot of space, so I want 30 of them split to other page. Is it possible in php, to automatically split comments when they are under 30?
    Thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    The logic on this page should help you:
    http://www.php-mysql-tutorial.com/wi...using-php.aspx

    That uses mysql, but the same ideas/operations will work for any storage system.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •