Re: [PHP] Calendar tutorial

2009-09-08 Thread tedd

At 8:47 PM -0700 9/7/09, Haig Davis wrote:

Dear PHP List Members,

First off I am well aware that I can go online and download a PHP script to
make a Calendar, it's not that I'm too cheap to buy the script it is that I
want to work through and fully understand what I have so that I am
intimately aware of every aspect of my project. What I really would like is
a tutorial that will teach me to write the script for a calendar (or at
least get me started) that will allow me to schedule various multi day
events and write the requests to a mySQL database. I would prefer something
that is PHP/ mySQL, HTML and CSS no flash or Java. If any one knows of a
site on the web I could find such a tutorial please let me know.

Many Thanks

Haig Vancouver BC


Haig:

The best tutorial I would think would be to review code that 
someone already did. That way not only do you get a working example, 
you can also learn and improve it on your own.


Check out:

http://www.php-calendar.com/

Here's an example of it working:

http://php1.net/my-php-calendar/

I've had good luck with it and have been able to change things as I wanted.

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Calendar tutorial

2009-09-07 Thread Haig Davis
Dear PHP List Members,

First off I am well aware that I can go online and download a PHP script to
make a Calendar, it's not that I'm too cheap to buy the script it is that I
want to work through and fully understand what I have so that I am
intimately aware of every aspect of my project. What I really would like is
a tutorial that will teach me to write the script for a calendar (or at
least get me started) that will allow me to schedule various multi day
events and write the requests to a mySQL database. I would prefer something
that is PHP/ mySQL, HTML and CSS no flash or Java. If any one knows of a
site on the web I could find such a tutorial please let me know.

Many Thanks

Haig Vancouver BC


Re: [PHP] Calendar tutorial

2009-09-07 Thread viraj
On Tue, Sep 8, 2009 at 9:17 AM, Haig Davislevel...@gmail.com wrote:
 Dear PHP List Members,
 least get me started) that will allow me to schedule various multi day
 events and write the requests to a mySQL database. I would prefer something
 that is PHP/ mySQL, HTML and CSS no flash or Java. If any one knows of a
 site on the web I could find such a tutorial please let me know.

i have googled a lot to find out a good tutorial on this topic,
finally decided to start coding it.

it's just a bunch of while loops and mysql views. the schema and the
classes and methods are totally up to the developer and heavily
depends on the specific requirements.

date_parse and strtotime were very useful php functions.

~viraj


 Many Thanks

 Haig Vancouver BC


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php