display a single thumb per gallery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a database of images, http://www.thethistlehouse.com/db.jpg

What I want to do is select ONLY ONE image to display as a the image link 
for that gallery. As you can see galleries are numbered dynamcially but 
galleries can also be added and deleted so the galleries no's I have now (7, 
8) will change. I have the code to display the thubnail but am stuck with 
the query.

I want to use mysql and php to

(i) determine how many unique galleries there are.

(ii) Retrieve & display a single thumbnail from each gallery to act as the 
link to that gallery


Ross 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux