A Little Baby Pool

Over the weekend I got together with Andrew to make the baby pool spreadsheet. You know that traditional thing where everyone bets on the date and time of birth, weight and length of the baby. Once it was done I really wanted to make it a website for people to just come and enter in the spots they wanted and their guesses, especially since some family is far away and it would be hard to keep faxing/mailing them an update piece of paper.

I buckled down this weekend and most of the night tonight and started coding the pool. It was really tough in the beginning for me because I don’t know any how to write to MySQL databases using CGI or PHP, I really only know ASP which I can’t use since I’m on a Linux server. Sorry for all the techno-jargon, it’s almost over. So I spent many hours learning and testing writing with PHP and MySQL to get this thing to work. I eventually got it to work and then of course figured out easier ways to code it, after it was all done. Let’s just say I took the brute force method in the beginning instead of being logical and doing loops. I guess my programming classes did me well after all to notice such silly mistakes and correct them.

The point of this post? Just to let you know that I learned how to do something and the end result came out pretty great. Check out the pool here. I’m thinking over the summer I can clean up the code even more and get it working so you can click on the square you want and just enter in the information instead of using the form. This will let me create some good super bowl pools.

3 thoughts to “A Little Baby Pool”

  1. Hi,

    I found your baby pool on Google and really like how you set it up. I was wondering if you would be willing to share your programming. My wife and I are due with our first in January and I would love to set up a pool like yours.

    Thanks

    Gary C.
    garyhcollier(at)gmail.com

Comments are closed.