Jump to content

[SOLVED] Prev | Next


phpSensei

Recommended Posts

Here is the site

 

http://www.render-works.com/clients/solo_client0001/index.php

 

As you can see the previous, and next button arent working, but i am trying to code it. I already coded this, where it goes to the next record in the data, I just got the highest id, and lowest one, and put it in a LIMIT, but what if its Id: 1 2 5 6? Because the next button is always +1. As you can see, I can't find any other ways of doing this...

 

Help?

Link to comment
Share on other sites

Here is the site

 

http://www.render-works.com/clients/solo_client0001/index.php

 

As you can see the previous, and next button arent working, but i am trying to code it. I already coded this, where it goes to the next record in the data, I just got the highest id, and lowest one, and put it in a LIMIT, but what if its Id: 1 2 5 6? Because the next button is always +1. As you can see, I can't find any other ways of doing this...

 

Help?

So you're having troubles displaying the number after Picture2ID= in the URL, am I right?

Link to comment
Share on other sites

Here is the site

 

http://www.render-works.com/clients/solo_client0001/index.php

 

As you can see the previous, and next button arent working, but i am trying to code it. I already coded this, where it goes to the next record in the data, I just got the highest id, and lowest one, and put it in a LIMIT, but what if its Id: 1 2 5 6? Because the next button is always +1. As you can see, I can't find any other ways of doing this...

 

Help?

So you're having troubles displaying the number after Picture2ID= in the URL, am I right?

 

No, that was some leftover of my coding, messed it up...

 

lol I see this is just a simple pagination. Thankyou.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.