Hi,
I have a date stored in mysql, as a timestamp(8) i.e. 010716. And I need to pull these dates out, and display them in a calander. How would I go about this?
The calander is displayed as: -
if ($dayCount == date("j") && $currYear == date("Y") && $currMonth == date("n"))
{
echo "<td align=center bgcolor=Silver><font face=Arial size=-2>" . $dayCount. "</a></font>";
}
else
{
echo "<td align=center><font face=Arial size=-2>" . $dayCount . "</a></font>";
}
Is there maybe a calander that can already do this? I have searched, but not found 1. Most that pull info out of a database, display meetings and stuff. I just want the dates to be displayed as a different colour, in a simple calander.
Any help is greatly appreciated
Thanks
Ben
I have a date stored in mysql, as a timestamp(8) i.e. 010716. And I need to pull these dates out, and display them in a calander. How would I go about this?
The calander is displayed as: -
if ($dayCount == date("j") && $currYear == date("Y") && $currMonth == date("n"))
{
echo "<td align=center bgcolor=Silver><font face=Arial size=-2>" . $dayCount. "</a></font>";
}
else
{
echo "<td align=center><font face=Arial size=-2>" . $dayCount . "</a></font>";
}
Is there maybe a calander that can already do this? I have searched, but not found 1. Most that pull info out of a database, display meetings and stuff. I just want the dates to be displayed as a different colour, in a simple calander.
Any help is greatly appreciated
Thanks
Ben