Jump to content

Recordset Paging Question


Recommended Posts

I am new to PHP and hoping someone here can help me figure this out.

 

The website is at: http://www.tilaru.com

 

When you click on the "Latest Project" image, or on an image inside one of the galleries, you go to a new window that gives the details for that particular project.

 

Now - what I would like to do, is have previous and next links on this detail page that will allow the viewer to browse all of the items within that category.

 

Right now the details page is populated by the "item" field via the clicked URL, and I need to have the recordset paging populated by the "type2" field in the database, according to the same "type2" information from the item.

 

So - if you clicked on a picture of a gate, that particular gate(item) would show up first, then if you click on previous or next it will go through all of the gates(type2), sorted by date DESC.

 

I can't seem to figure out how to do this, since the page is being called by "item" - even though I am telling the recordset to pull type2 for that particular item - I don't know how to reference it for the paging feature :(

 

If anyone knows how to do this I would be very grateful :D

Thank you,

MommaTC

Link to comment
Share on other sites

  • 1 month later...
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.