i’m going to show you how to do the typical insert/update statement useful in a a lot of web apps, but with a slight twist.
its a long and complicated process. one that should be pretty damned simple.
wordpress supports an awesome template hierarchy right out of the box. here’s an easy way to extend that to include category specific post templates.
its easier than you think, as long as you’re using auto increment record ids and don’t mind using transactions.