I have created an availability calender, however I built this the hard way. When the word check is found next to the date in the database the number turns bold with a strikethorugh.
I ended up putting together a whole page like this from jan1-dec31st which was a lot of hard work.
<? if ($jan1==''){ ?><p align="center">1
<? } elseif ($jan1=='check') { ?>
<strong><s><p align="center">1</s></strong><s>
<? } ?>
Is their a way of creating a calender with these statments inside, so instead of using about 500 lines of code lol, it can all be passed through some smaller code. The code as I said needs to create a calender and where each variable needs be automatically created, i.e $jan1,$jan2 and so on up to $dec31
Some code examples from any of you guys would be great.
Many Thanks