Support » Plugins and Hacks » Paging hack

  • Hey,

    I’m having a go at writing a simple plugin that lists rows from a table in a page available from within the admin area. I have created the table myself.

    I wanted to know if there was a built in way of paging result sets, 10 per page or whatever. I’ve had a look at the wpdb object and the documentation for wp-query. As far as I can tell wp-query is for use with pre-existing data structures such as a posts?

    Is there an advisable method or facility within the source code that allows record paging for custom sql? or must I hack something together myself?

    Any help appreciated!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Paging hack’ is closed to new replies.