View Single Post
  #1  
Old 07-02-2009, 09:04 AM
webdev webdev is offline
Senior Member
 
Join Date: Jun 2009
Posts: 7,868
Default [php] maths help

Okay a new one for you, say i have a counter $this->post_count that which each post gets "++" to add 1 onto it, but then say i go to a second page i need to work out how many posts are before it and then add one to that. What would be the best way? For each page there are 7 posts.
__________________
Website Development
Domain Name Forum
Reply With Quote