Nerdly Update

Fixed some technical issues with the site. I wrote some anti-SQL-Injection code that turned out to break when you fed it a question mark. Oops. Fixed that so that the code is secure again, and you can enter data with question marks and it will go through just fine.

Centered some text on the Wedding page also, per Kelsey’s request. I added links to The Atrium’s website and to Google Maps showing the location of The Atrium. You can use the Google Maps thing to map out directions from wherever you are coming from to the place. I’ll do the same with the hotels when we get that info.

I also fixed a bug on the edit page that caused an additional line break to be added every time we clicked the “Update” button … so if anyone was wondering why the space between the two paragraphs of Kelsey’s bio on the Wedding page kept growing and growing, that was it. preg_replace() is my friend (although not in the case of the ? replacement, because it was what caused my code to break). The previous comment means nothing to anyone who doesn’t code in Perl / PHP.

That’s about it for now … I’ll be working on some other stuff in the near future, such as posting the rest of those photos (which Kelsey keeps getting on me about, since I should have done it months ago …)

— Kevin, 10:20 PM, American University, Washington DC