How to increase page number automaticaly

  • joy1986joy
  • Novice
  • Novice
  • User avatar
  • Joined: Jul 04, 2010
  • Posts: 27
  • Status: Offline

Post December 17th, 2010, 9:51 am

Hi
I need to know that how can I increase page number in php. For example say I have 100 pictures which I want to upload. Now the pictures will show in the web page serially 10 pic per page. Now is there any procedure where I can increase the page number automatically when adding image.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 17th, 2010, 9:51 am

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post December 17th, 2010, 10:24 am

What your looking for is called pagination.

http://net.tutsplus.com/tutorials/php/h ... -with-php/
#define NULL (::rand() % 2)
  • joy1986joy
  • Novice
  • Novice
  • User avatar
  • Joined: Jul 04, 2010
  • Posts: 27
  • Status: Offline

Post December 27th, 2010, 10:02 pm

Thanks spoof. I will check it. But I have got another problem I have shared it in a thread. Can u help me with that. Importing contact of an user. I will go through your reference url. I will let u know if any problem is there with it. Thanks for your kind help every time and spending your precious time for me.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 227 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.