I am thinking of setting up my own shopping cart and was wondering if it is possible to put pics into a database to make it easier to change the pics and just call up the data base to output to the website?
| SitePoint Sponsor |
I am thinking of setting up my own shopping cart and was wondering if it is possible to put pics into a database to make it easier to change the pics and just call up the data base to output to the website?

You can do it if you define a column's type to be "BLOB" (Binary Large OBject). I think storing all the picture details in a column is not much better than storing a URL of an image.





You could store just the picture names in your database. I don't see a problem in that!
“Good artists copy, great artists steal” (Pablo Picasso - 1934)
Bookmarks