DBookatay Posted October 8, 2007 Share Posted October 8, 2007 Does anyone have a script that will countdown to a certain day? I'm getting married on June 13th, 2008 and am in the process of creating a site for my fiancé's and my family, to view our status, reception information, ceremony location, etc... and want a "### days remaining" script on the page. ------------------------------------------------------- Also random poll: My fiancé thinks that it's cheesy to create a dB that everyone can go to to rsvp and make their meal selection, instead she want to have everyone mail in reply cards. If I elegantly do a site, with a simply login area for friends and family to rsvp, is that cheesy? It would definitely be more cost effective (less stamps / reply cards) and less time consuming (simply print a list of attendees and meal selection for the banquet hall.) Anyone have an opinion? Quote Link to comment https://forums.phpfreaks.com/topic/72254-solved-creating-a-countdown/ Share on other sites More sharing options...
yzerman Posted October 8, 2007 Share Posted October 8, 2007 <?php $doomsday = '1213315200'; //unix timestamp for June 13th 2008 $countdown = $doomsday - time(); $countdowndays = round($countdown/60/60/24, 1); echo "you will be married, and considered dead inside in $countdowndays days"; ?> As far as the invitations and stamps - yes it fiscally makes more sense to do it via an online site. However, as you will most inevitably come to realize - when planning a wedding - its best to leave the those types of decisions up to the woman. As my wife explained to me, she has been planning this wedding for her whole life. Quote Link to comment https://forums.phpfreaks.com/topic/72254-solved-creating-a-countdown/#findComment-364351 Share on other sites More sharing options...
DBookatay Posted October 8, 2007 Author Share Posted October 8, 2007 <?php $doomsday = '1213315200'; //unix timestamp for June 13th 2008 $countdown = $doomsday - time(); $countdowndays = round($countdown/60/60/24, 1); echo "you will be married, and considered dead inside in $countdowndays days"; ?> As far as the invitations and stamps - yes it fiscally makes more sense to do it via an online site. However, as you will most inevitably come to realize - when planning a wedding - its best to leave the those types of decisions up to the woman. As my wife explained to me, she has been planning this wedding for her whole life. Love both the comments... Sarcasm is always the best way to wallow in self misery... Thanks for the help... Quote Link to comment https://forums.phpfreaks.com/topic/72254-solved-creating-a-countdown/#findComment-364355 Share on other sites More sharing options...
yzerman Posted October 8, 2007 Share Posted October 8, 2007 I was joking with the comments - but thats a very basic countdown. I was however serious about the online RSVP and your wife making the final decision about that. This day is going to be all about her. Quote Link to comment https://forums.phpfreaks.com/topic/72254-solved-creating-a-countdown/#findComment-364361 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.