Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Get links to previous and next records?

Featured Replies

I'm opening a page on my website that shows the informations of a specific record and I'd like to have a next and previous button. How do I pull it off? I notice there's no GetNextRecord() function.

I'm using AJAX to show the data, so since everything is brought back by the PHP, it's hard to actually do something with javascript and mess around with arrays, like I originally tried to.

Is there an easy way to do this? I spent the whole day on this yesterday trying various solutions but I couldn't pull it off. I was planning on trying with setRange today.

EDIT :( I'm currently toying around with a possible idea with record numbers. It would break instantly if I would sort the list, but I could work around that eventually.

EDIT 2 : Pulled it off. I get the record number on the database then I search within a range of record number - 2 and I find 3 elements. Then I assign < to the first one, the number of the elements to the middle one and > to the last one.

Edited by Guest

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.