|
-
Jan 14th, 2008, 09:47 PM
#1
Thread Starter
Hyperactive Member
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...
-
Jan 14th, 2008, 10:08 PM
#2
Re: How to create page index
Code:
SELECT * FROM YourTable WHERE YourFiled = 'Something' LIMIT 10
-
Jan 14th, 2008, 10:25 PM
#3
Thread Starter
Hyperactive Member
Re: How to create page index
Is there any simple example on how to implement this? Tq
-
Jan 15th, 2008, 10:02 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|