Originally Posted by mlseim
So in your case, you'll need a new column created in your database table ...
the new column that you create will contain the filename of the image.
You can all the new column -- image VARCHAR(20)
When a user id is queried, you'll be able to see the filename of the image they uploaded.
Then it's easy to just display the user's text under the image and do whatever you want.
The way you're doing it (in my opinion) is the best way.
Storing images (the binary image) in a table makes things more difficult.
How would I conduct a query, to echo a row, given just one field, such as the the user id or the username?