hoju312 Posted December 18, 2006 Share Posted December 18, 2006 I am trying to build a sign up sheet. I have a basic calendar, but I want to be able to click on the day and view that day by hour. Any help on generating the hourly list associated to each day would be awesome. Quote Link to comment https://forums.phpfreaks.com/topic/31163-php-calendar/ Share on other sites More sharing options...
Daniel0 Posted December 18, 2006 Share Posted December 18, 2006 If you want it 24-hour format just run it through a for loop like this: [code]for($i=0; $i<=23; $i++)[/code]That will make all hours from 00-23. Then just add events in the database and store a UNIX timestamp of when the event is. Quote Link to comment https://forums.phpfreaks.com/topic/31163-php-calendar/#findComment-144039 Share on other sites More sharing options...
thepip3r Posted December 18, 2006 Share Posted December 18, 2006 coupled with Daniel0's statement. Use it in conjunction with PHP's date,time,mktime functions for even more intuitive functionality. Quote Link to comment https://forums.phpfreaks.com/topic/31163-php-calendar/#findComment-144046 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.