dynamic calendar in PHP
Moderator: General Moderators
dynamic calendar in PHP
Who know the code about canlendar and when can click into this calendar and we get a date to insert into database???
Thank in advance
Thank in advance
sounds like a job for javascript:
http://www.mattkruse.com/javascript/calendarpopup/
This is not a PHP issue... moved to client side.
http://www.mattkruse.com/javascript/calendarpopup/
This is not a PHP issue... moved to client side.
in this web, how should I do to get source code, because I have tried to see this code HTML and have tried to run but it didn't run.The Ninja Space Goat wrote:sounds like a job for javascript:
http://www.mattkruse.com/javascript/calendarpopup/
This is not a PHP issue... moved to client side.
And I would like to display this calendar in my web(not use link select to display).
Thank in advance
Why don't you try reading the instructions? The guy put just about every possible implementation of a javascript popup calendar on that page. PHP is executed on the server, so there is no possible way for PHP to pop up a calendar in your browser. By the time you see the HTML in your browser, PHP has long since finished its work.in this web, how should I do to get source code, because I have tried to see this code HTML and have tried to run but it didn't run.
And I would like to display this calendar in my web(not use link select to display).
Here is the easiest possible implementation of the calendar I posted a link to:
http://www.mattkruse.com/javascript/cal ... imple.html
I use this one (LGPL) http://www.dynarch.com/projects/calendar/, it's quite good and complete in features.
I also has PHP API to ease the tasks of generating the related html.
I also has PHP API to ease the tasks of generating the related html.
that's an awesome calendar... the only thing I can see that I don't like so much about it is that its ui seems to be geared more towards tech savvy people. My mom wouldn't be able to figure out how to change the year quickly (by clicking and holding down the mouse on the >> and << buttons). Other than that, it's awesome.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
jquery has an awesome solution for this as well (extends a text input)
http://kelvinluck.com/assets/jquery/datePicker/
http://kelvinluck.com/assets/jquery/datePicker/