I found that I couldn't edit my page easily using programs like dreamweaver after I had divided the template into header and footer files.

Using this method you can load 'template.php' into your visual designer and edit it no probs.

Note:Examples below are basic but you get the point


template.php

Code:
<?php if($hf=='header'){ ?>

<html>
<head>
<title>Page
...