chwebdesigns Posted September 23, 2007 Share Posted September 23, 2007 Hi all, I have a event calendar on a website I run. I was wondering if there is a PHP code which will change the background colour of the cell to grey once the date has passed. Is this possible? Any answers would be appreciated Thanks alot from cal Quote Link to comment https://forums.phpfreaks.com/topic/70374-changing-cells/ Share on other sites More sharing options...
BlueSkyIS Posted September 23, 2007 Share Posted September 23, 2007 to change the background color of a table cell <TD>, check a value and either set the TD's CSS class or bgcolor depending on the value. Quote Link to comment https://forums.phpfreaks.com/topic/70374-changing-cells/#findComment-353539 Share on other sites More sharing options...
chwebdesigns Posted September 24, 2007 Author Share Posted September 24, 2007 I'm still very confused, I don't know much information at all on PHP. So if anyone could write part of the code/ give me alot of ideas on how to write it, it would be appreciated Quote Link to comment https://forums.phpfreaks.com/topic/70374-changing-cells/#findComment-354058 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.