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
| SitePoint Sponsor |
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


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.
17-29% of paid ad clicks are fraudulent. Get protected with Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more.
Bookmarks