Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Building an index for next/last in a photo album.by Seumas (Curate) |
on Jul 26, 2004 at 20:32 UTC ( [id://377567]=note: print w/replies, xml ) | Need Help?? |
I had considered that, but the problem is that the img_id's are sequential in the database -- not the album. In other words, if I wanted img_id #43, I could not just say "give me img_id #42, #43 and #44" - because #42 and #44 could possibly belong to another album_id for the same user - or another album_id for a completely different user.
Here is an example of the table:
In Section
Seekers of Perl Wisdom
|
|