Managing a query set of images

Links for php scripts

Moderators: macek, egami, gesf

drimades
New php-forum User
New php-forum User
Posts: 39
Joined: Wed Oct 29, 2003 2:11 pm

Managing a query set of images

Postby drimades » Wed Oct 29, 2003 2:32 pm

----------------------------------------

Hello,
I have the result of a query say $imgquery that consists of a set of urls, say 'imgurl', (to jpg images). I want to create a kind of album for displaying these images but I'm finding difficulties in managing the "prev" and "next" related links. Can you help me?

----------------------------------------

User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Postby swirlee » Wed Oct 29, 2003 3:47 pm

PHPFreaks has what looks to be a decent pagination tutorial. Check it out or google for more.

drimades
New php-forum User
New php-forum User
Posts: 39
Joined: Wed Oct 29, 2003 2:11 pm

Postby drimades » Fri Oct 31, 2003 9:00 am

-------------------------------------------------------

Thank you Swirlee! It was a useful site!

Anyway my problem persists:

- As I said I have a set of records (say $imquery) with various info about properties (buildings,homes, etc.).

- For every property there is another subquery with a set of records ($imgquery) that consists of images (pictures of the property)

- So I want 1) to move with a kind of cursor (Previous , Next) in sequence to every property data and displaying relative information 2) for every property display the relative images with the possibility of moving ( previous, next ) in the sequence of each property images.

--------------------------------------------------------


Return to “PHP Scripts”

Who is online

Users browsing this forum: No registered users and 0 guests

cron