php calendar

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
saranda
Forum Newbie
Posts: 15
Joined: Wed May 10, 2006 6:18 pm

php calendar

Post 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;
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post 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>
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
litebearer
Forum Contributor
Posts: 194
Joined: Sat Mar 27, 2004 5:54 am

Post 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...
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

I just posted a calendar file that you may be able to modify: viewtopic.php?t=48582
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply