SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast somnath's Avatar
    Join Date
    Jun 2005
    Location
    India
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Store color code

    Hi Guys,
    How to store color code in a mysql table? what will be the column datatype?
    Can you show me an example?

    Best Regards,
    Somnath Guha
    Somnath Guha

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    What kind of color code? The kind we use in HTML and CSS? It's just text -- use a text column. A VARCHAR(6) would be wide enough.


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
  •