Page 1 of 1

php calendar

Posted: Thu May 18, 2006 7:40 pm
by saranda
Does anyone have the php calendar script in wich i can manipulate what i need is when i click in the any of the days thet opears on the calendar thet day to be echo on my page

echo $daycalendar; please help;

Posted: Thu May 18, 2006 8:11 pm
by s.dot
seems a simple javascript could achieve this

Code: Select all

<script type="text/javascript">
<!--
function doShow(day){
    document.getElementById('date').innerHTML = day;
}
//-->
</script>

<p id="date"></p>

// calender here
// sample day
<td><?php echo '<a onClick="doShow(\''.$today.'\');">'.$today.'</a>'; ?></td>

Posted: Thu May 18, 2006 10:47 pm
by litebearer
Not exactly sure I follow you, but....

this may (or may not if I am wrong) be what you want...

http://www.vcalendar.org/site/

Lite...

Posted: Fri May 19, 2006 10:07 am
by pickle
I just posted a calendar file that you may be able to modify: viewtopic.php?t=48582