i'm trying to create a calander that is linked to a mysql database. I've looked at calander code out there, but it doesn't relaly do what i want it do. I have the following calander that is static, but i want to link it to a DB, so say if March 2nd has an entry in the database, the 2 will become a link to the info in the database. if there is no entry in the database, then the 2 will still be there, but it won't be hyperlinked. Any hints on how to do this?
<td colspan="2" bgcolor="#FFFFFF" height="*">
<div align="center"><font size="2" face="Courier New, Courier, mono"><font color="#333333"><br>
March 2001 </font><br>
<font color="#333333"><u>S- M- T- W- T- F- S</u></font><br>
<a href="http://linkhere/03.01.01.html">01</a> 02 03<br>
04 <a href="http://linkhere/03.05.01.html">05</a> 06 <a href="http://linkhere/03.07.01.html">07</a>
08 <a href="http://linkhere/03.09.01.html">09</a> 10<br>
11 <a href="http://linkhere/03.12.01.html">12</a> 13 14 15 <a href="http://linkhere/03.16.01.html">16</a>
17<br>
18 19
(and so on)