Page numbering for a blog -


i building blog atm i'm not using wordpress etc..

my question is: how can make page numbering system see in many blogs?

thanks in advance!

if you're making hand , want pagination, can try (assuming you're using sql):

  1. decide number of items want per page
  2. query db total number of items
  3. calculate total number of pages know how many page links print
  4. query items using limit , offset

Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -