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
hame22
Forum Contributor
Posts: 214
Joined: Wed May 11, 2005 5:50 am

PHP calendar

Post by hame22 »

Hi i am in the process of maiking an online form that allows a user to search for an event from a directory.

I want the user to be able to search via the date of the events and was wondering whether there was a calendar function that could help the user to select a valid date which can then be used to run a mysql query.

What I am looking for is a pop-up box containing a calendar which the user can choose a date from which is then inserted into the date text box on my form.

Is this possible using php and if so are there any ready made functions out there which i could use?

Any suggestions will be appeciated, thanks in advance
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Oh yes, it's quite easily possible... read this:

http://php.about.com/od/finishedphp1/ss ... lendar.htm
Post Reply