I have a complicated situation I was wondering if someone could make it look simple. ![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I have several folders with thumbnail images in them. I have them setup like this:
client_name/thumbs/img.gif
I store all the "client_name"s in a table (called clients). This is important for I would like to reference the ID of that client to go to their page.
Here's the catch: some clients don't have any thumbnails in their folder (or may not even have a folder).
Anyway, I need to pull 3 random images from 3 random client's thumbnail folder and also along with it, link to that client's details (details.php?c=ID).
Any ideas? (site:
_______________
_brian.
I have several folders with thumbnail images in them. I have them setup like this:
client_name/thumbs/img.gif
I store all the "client_name"s in a table (called clients). This is important for I would like to reference the ID of that client to go to their page.
Here's the catch: some clients don't have any thumbnails in their folder (or may not even have a folder).
Anyway, I need to pull 3 random images from 3 random client's thumbnail folder and also along with it, link to that client's details (details.php?c=ID).
Any ideas? (site:
_______________
_brian.