
July 24th, 2002, 07:22 AM
|
|
|
|
Join Date: Apr 2007
Location: pittsburgh
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Optimizing Calendar code
Hi Matt,
I sent you a message a while back about using your calendar script but changing the authentication and removing the link. I'm noticing a few inefficiencies in your code -- I think you could do most of the date and time formatting stuff using SQL rather than the PHP function equivalents. Let me know if you're interested, and when I finish optimizing the code, I'll send you the changes I've made.
Take a look at the SQL function "DATE_FORMAT". It will also make the code look cleaner.
In general, the script is really productive. It's the perfect weight for the project I'm working on, and it's a pleasure to be able to contribute a small bit in exchange for your generous work on this script.
|