This is an issue I've run into with a website I'm designing. I'm using a template based design for the site, so the information on the page is thrown inside the template when the page is accessed. The information shown changes based on the page attribute passed in as a GET request.
So, to actually load the information into the body area of the page, the given PHP script needs to place that information in a $bodyout variable when it ends. This is fine and good, but the information then shows up as a cute yellow box in dreamweaver, making WYSIWYG editing of the site not possible.
Ideally, for most of the pages on the site, I'd like for my secratary to be able to go in there in Dreamweaver to edit the page, since she doesn't know PHP at all. Is there an elegent way to have a PHP script show the data it is going to output in Dreamweaver? (Especially if that data is static)
EDIT I should clarify: By template-based design, I don't mean any particular program. I just have the "layout" HTML/CSS in one script, and that script fills itself with the content. The whole thing is PHP so far, no third party programs involved.