thewhistler1
Technical User
I am trying to display a calendar on my web page, just the current month. I think the easiest way to do this would be to just display a unix calendar with the cal command. I did this
$cal = `cal`;
$cal = nl2br($cal);
echo $cal;
but the numbers don't line up correctly.
Any one know how to make this look right or another simple way to display this months calendar?
Thanks for the help.
$cal = `cal`;
$cal = nl2br($cal);
echo $cal;
but the numbers don't line up correctly.
Any one know how to make this look right or another simple way to display this months calendar?
Thanks for the help.