I managed to build an availability calender, but my code for it is massive. The php code looks at the database and if the field says check then the cell on my calender changes the number to bold with a strikethorugh.
I built this the hard way, first I put together the calander long hand and under each day called the following:
<td>
<? if ($jan1==''){ ?><p align="center">1
<? } elseif ($jan1=='check') { ?>
<strong><s><p align="center">1</s></strong><s>
<? } ?></s></td>
and so on up to Dec31 st 2003.
I was wondwering if someone could show me how to create a php calender dynamically and be able to create the code for checking wether or not a certain field in the database has the word check in it, and carry out the arguments. I had to do it this the hard way, I could not find any PHP availability calenders around.