Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Calendar App


Message #1 by "Scott Mackenzie" <djfixate@h...> on Tue, 7 May 2002 11:45:09
Well, you could take my code and take the logic that you need.

For example, don't have it display a full year, just have it display one
month and have the next/previous links call the same php script but have it
pass a timestamp for the appropriate month and it will regenerate the
appropriate month.

As for only having links of days that have events, just have it check to see
if there is an event and then add a link.  The code is in there.  It checks
for days that have events and makes a grey cell.

Exactly how do you plan on updating the calendar with events in your way,
btw?

From what it seems, all the things you want to do, the logic and algorithms
are in the ap I made, you just need to pull them out and rearrange them.

----- Original Message -----
From: "Scott Mackenzie" <djfixate@h...>
To: "professional php" <pro_php@p...>
Sent: Thursday, May 09, 2002 12:30 AM
Subject: [pro_php] Re: Calendar App


> It's not really what i wanted. I'm not a guruu so don't pay me out... i
> need one that only shows one month, and has links for the previous and
> next month on it. Also for the client side of it i don't want to have
> links for everyday, there should only be links to the days that have
> events, so that they can view them.




  Return to Index