CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Post deleted by hwnd

 



hwnd
User

Mar 1, 2013, 1:31 AM

Post #1 of 2 (521 views)
Post deleted by hwnd

 


lightspd
Novice

Mar 1, 2013, 11:44 AM

Post #2 of 2 (510 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.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives