or...
if you don't need every user to access your db using php (and so adding strain to the server), generate html pages every so often for appropriate content in your db.
using this method, your db can contain articles in an xml format which can be parsed in different ways when generating the printer version, and the web version.
of course, you could do xml parsing dynamically... but that makes me nervous when i think about lots of people accessing my tiny server all at once 😉
just a thought, as it's how i'm implementing a site at the moment...
dom
🙂