« Photos from Erie Bloggers for Lake Erie Lifestyle Magazine | Main | Weird thoughts in the dentists office, weird dream »

PHP for Drenched Fur

Okay, I probably need to get a life. Gary had added a block to the Drenched Fur site (the upcoming Bear event here in Erie on April 4-6) to show the number of remaining registrations. We are using Drupal/a web form for guys to register. Gary was checking the registrations and manually changing the text. PHP is our friend. I added some code so that it automatically displays the number of remaining registrations.

I then went a bit further and added some code to show the number of days remaining to the hotel room lottery for early registrations (if it is February 1 or before), the number of days left to get the discount rate (if it is in the discount period), the number of days left to register online (if it is post discount) or just a note to contact Gary about registering if the online registration period has passed.

Way geeky, but it made me happy. Less stuff to maintain, and I should just need to update the dates in the query for next time.

I wonder if I should do a similar count down for Pride event registration for the Erie Gay News site? It's less of a pressing need since we aren't charging for attending events.

TrackBack

TrackBack URL for this entry:
http://www.eriegaynews.com/movabletype/mt-tb.cgi/3231

Leave a comment


Type the characters you see in the picture above.

About

This page contains a single entry from the blog posted on January 3, 2008 12:46 AM.

The previous post in this blog was Photos from Erie Bloggers for Lake Erie Lifestyle Magazine.

The next post in this blog is Weird thoughts in the dentists office, weird dream.

Many more can be found on the main index page or by looking through the archives.