My previous attempts at rolling a homegrown database was just causing me to leave this website in complete disarray. Instead, I decided to trash all that code and use an off-the-shelf cms. Currently I'm playing with craft. I wish it had more cookie-cutter templates, but otherwise it's rather clean and pretty close to what I was looking for. Here's hoping everything actually comes together into a marginally coherent website.