SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Oct 2010
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool Just a quick MySql question.

    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?

  2. #2
    SitePoint Zealot Amit Yaron's Avatar
    Join Date
    Jan 2011
    Location
    Hod Haharon, Israel
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  3. #3
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    2,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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)


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •