Calendar in html/php?

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
User avatar
Nimaro
Forum Newbie
Posts: 19
Joined: Thu Nov 19, 2009 11:26 am

Calendar in html/php?

Post by Nimaro »

hy everyone,

Im creating a program the inserts reservations into Mysql. One of the fields to insert 1 new reservation is the date, im inserting it manually. My question is... isnt there a way to open a calendar where the user can choose the date from clicking on the day in the calendar??
Im new in php/html, thats way i apreciate a help from u guys.
Hope u can help me
xentrec
Forum Newbie
Posts: 1
Joined: Mon Nov 23, 2009 10:35 am

Re: Calendar in html/php?

Post by xentrec »

Here is a calandar I have used in the past. It works pretty well. I did not write this code so please give credit to the author....

You can get it from my server here: http://xentrec.com/test/calendar_php.zip
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Calendar in html/php?

Post by pickle »

The jQueryUI Datepicker control is quite nice.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
Mirge
Forum Contributor
Posts: 298
Joined: Thu Sep 03, 2009 11:39 pm

Re: Calendar in html/php?

Post by Mirge »

pickle wrote:The jQueryUI Datepicker control is quite nice.
+1 for jQuery UI Datepicker... well-supported and of course jQuery (and UI) is being actively developed. Styling it is super easy.
Post Reply