retrieval of NEXT, PREV records
| From: | Adv. Systems Design | Date: | Tue, 20 Feb 2001 14:41:04 +0000 |
| Subject: | retrieval of NEXT, PREV records | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6782@lists.php.net to get a copy of this message | ||
I have set up links to browse records one by one,
using (ID+1) for NEXT and (ID-1) for PREV...the only
problem is that if there is a hole in the ID sequence
(as from DELETION), there is no record returned...How
can I have it so that the 'holes' are paved over and
not returned?
TIA
Luis
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/