Results 1 to 4 of 4

Thread: images

  1. #1
    Join Date
    May 2006
    Posts
    2

    Question Unanswered: images

    How do I put 2 images in one blob field?

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    you don't, would be my guess
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    May 2006
    Posts
    2
    i want to show that a hotel is a 1 star or 5 star

  4. #4
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    i would use a TINYINT field for that and store an integer from 1 to 5

    then, in your scripting language (asp, php, coldfusion, what have you) i would translate that value into the number of star images, which would be retrieved from the web server's file system

    storing images in mysql is generally not a good idea
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

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