Results 1 to 4 of 4

Thread: How to create page index

  1. #1

    Thread Starter
    Hyperactive Member Bearnerd's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    290

    How to create page index

    Hi, I am new to php. I want to know how to create a single page with multiple index to display certain amount of records. Let say I have total of 100 records to display but I just want to list 10 records. So that's mean I need 10 index to display them all.

    Example:

    1 2 3 4 5 6 7 8 9 10 (This is the index)

    First 10 records go here for index no 1.

    I hope you understand my question...

  2. #2
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: How to create page index

    Code:
    SELECT * FROM YourTable WHERE YourFiled = 'Something' LIMIT 10

  3. #3

    Thread Starter
    Hyperactive Member Bearnerd's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    290

    Re: How to create page index

    Is there any simple example on how to implement this? Tq

  4. #4
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: How to create page index

    Which DBMS are you using?

    You need to find out how to connect and pull out the data from your appropriate database.

    The rest really depends on how you want to accomplish this. Do you want to automatically pass the values via POST method, or would you send it via get?

Posting Permissions

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



Click Here to Expand Forum to Full Width