I never get why people are questioning the reason before answer him. He needs an answer, not a avaliation. What if he is studying something?...
For each image you must create a row, that is the better way to organize things. Follow this tutorial and you should be able to save and retrieve images from database:
http://kennykee.com/92/saving-image-to-database-using-php/
Basicaly, you have to open you image file after a default upload, but don't move it to final directory, leave it at temporary PHP folder. You would open the file, get all its content and encode with base64. It would generate a long string. Save that to database.
To show the image, I think, not entirely sure, you would retrieve the value, decode it and use directly to <img src="value">