Background color fom database ASP/MySQL

hcjake

New Member
I am trying to have my asp-classic pages display the background color based on the six digit hex value sent TO mysql db via js color picker. I am able to display images, but not colors. Here is my little snippet.body {background-color: url(<%=(Recordset1.Fields.Item("bg_color").Value)%>);}Thank you in advance!
 
Back
Top