Perl-Sensitive Sunglasses | |
PerlMonks |
Re: next prev record mysql tableby tcf22 (Priest) |
on Dec 07, 2003 at 00:00 UTC ( [id://312822]=note: print w/replies, xml ) | Need Help?? |
The best move would probably be to add an identity field, and just grab the next/prev image by ID. You could also use an ORDER BY, to order by filename, date, or something else, which would make sure they come out in the same order, so you could make sure the next/prev image is correct.
- Tom
In Section
Seekers of Perl Wisdom
|
|