• home
  • forum
  • my
  • kt
  • download
  • Creating a paging system with MySQL

    Author: 2008-08-28 09:20:54 From:

    Introduction


    In this tutorial I will show you how to create your own paging system for a MySQL database table using PHP. You will learn how to have a list of pages automatically generated from the total row count on your table based on the limit of results to be displayed per page.

    There are many reasons why someone would want to do this and the most common one is to simply lessen the load on their database by not calling every row in one shot because if your database table has more than 100 rows this can be a large strain on the server. Say that you have 10 people calling the same page that returns all of the 100 rows from the database table; this is the same as calling 1,000 rows at once, now you see the problem.

    Prerequisites
    If you are here I am assuming you have a fair to moderate understanding of PHP and MySQL

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      Ad Management (4)
      Calendars (3)
      Chat Systems (7)
      Content Management (6)
      Cookies and Sessions (8)
      Counters (8)
      Database Related (18)
      Date and Time (13)
      Development (19)
      Discussion Boards (8)
      E Commerce (8)
      Email Systems (13)
      Error Handling (7)
      File Manipulation (24)
      Flash and PHP (6)
      Form Processing (19)
      Guestbooks (12)
      Image Manipulation (21)
      Installing PHP (7)
      Introduction to PHP (23)
      Link Indexing (8)
      Mailing List Management (9)
      Miscellaneous (53)
      Networking (8)
      News Publishing (9)
      OOP (24)
      PEAR (6)
      PHP vs Other Languages (2)
      Polls and Voting (6)
      Postcards (1)
      Randomizing (14)
      Redirection (11)
      Searching (9)
      Security (29)
      Site Navigation (16)
      User Authentication (14)
      WAP and WML (7)
      Web Fetching (8)
      Web Traffic Analysis (15)
      XML and PHP (16)

    New

    Hot