I can understand the advantages of handcoding your web pages, especially with PHP, but how do you get past the visual layout perspective that Dreamweaver gives you? For me personally, I like to have a visual layout of my web page when I am designing it. But I am running into some trouble trying to insert PHP scripts into the HTML code using Dreamweaver. I think it has something to do with a template that Dreamweaver automatically creates when you choose to work on a PHP page. For example, I am trying to use includes for my Header, Side Menu, and Footer. When I insert the
<?php
require (\"header.php\")
?>
the rest of the page disappears in Design View and wont allow to me to add anything else. If I try to delete or add anything manually I get an error saying:
making this change would require changing code that is locked by a template or translator. The change will be discarded.
Any input or suggestions????? Please Help.