News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NewsForge.com:
A DIY calendar control in PHP
January 26, 2007 @ 15:25:00

As a former ASP.Net coder, I've missed the convenience of Microsoft's built-in Calendar Control since I switched to doing Web site development in PHP. On a recent project I needed the ability to display a calendar with dates serving as hyperlinks to selected database items. I decided to use the opportunity to write some portable PHP code that I could use in other projects.

So started Donald McArthur's work on creating a simple, easy to use calendaring system to be used in a popup inside an application. He provides all the code you'll need - the PHP code and the HTML layout/functionality you'll need to get it working.

He helps you visualize the structure of the end result HTML table with a simpler version (three cells by five cells) and explains the date functions the code uses to figure out the dates and days of the selected month.

0 comments voice your opinion now!
diy calendar date time function control table diy calendar date time function control table


blog comments powered by Disqus

Similar Posts

Eirik Hoem's Blog: Dying with grace - PHP's register_shutdown_function

PHPFreaks.com: Working with dates in PHP

Derick Rethans' Blog: Overloaded properties (__get)

PHP-Coding-Practices.com: How Table Migrations In CakePHP 1.2 Can Save Your Life

PHPMaster.com: Defining and Using Functions in PHP


Community Events

Don't see your event here?
Let us know!


laravel podcast voicesoftheelephpant application conference community library version introduction series release extension example interview api php7 performance framework symfony2 opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework