PHP_student
Oct 10 2009, 11:24 AM
I'm trying to make it so that users can choose an avatar out of a list of already pre-uploaded ones. I have no idea how to do this. Should I assign each pre-uploaded image an ID? A Code snippet to get me started would be great.
Trice
Oct 10 2009, 07:01 PM
Quick search on google and images in a directory gives me:
http://www.the-art-of-web.com/php/dirlist/1/Or you could do it where you store the name of the image in a table in a DB, then loop through all results from that table, displaying the file name of every image, showing the image.