View Single Post
Old Jun 25th, 2005, 12:24 PM   #4
skuinders
Hobbyist Programmer
 
skuinders's Avatar
 
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4 skuinders is on a distinguished road
Quote:
Originally Posted by coldblue
umm i'm abit confused sorry so how does it like get on the html page ?? i know about the uploading but ?????????????????? agh soz
the way I would do this is using a MySQL database. When the user submits the initial form, you upload the file and dump his/her name, pass, the filename, and email into a table. Then you would have a display page that would run a SELECT on that table and loop through each row returned and print the tags for displaying the username and image (using the name and filename fields as values). Just modify your select statement to fit your needs (e.g. only show images by user X, show all users...)

I will get you a code snippet eventually if you get stuck.
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand."
- B. Russell

http://web.bryant.edu/~srk2
skuinders is offline   Reply With Quote