
lightspd
Novice
Mar 1, 2013, 11:44 AM
Post #2 of 2
(139 views)
|
|
Re: [hwnd] displaying per page results in mysql
[In reply to]
|
Can't Post
|
|
This first thing I notice is your sql. You're passing an offset and then a limit. So whatever $db_limit is, is going to be your offset, then $per_page is going to be the number of records. So you will never get more than 5 results. Then given that. This will always be 1 $results / $per_page.
|