I can't really write out a full code now, but I can give an example. Also, you can try w3schools.com/php if you are learning PHP.
This is basicly a simplified WordPress "Loop"
PHP Code:
<?php
include('header.php');
/*
*
*Static Data
*Like News Posts
**Etc.
*This would be directly after your navigation, which is in header.php
*
*/
include('footer.php');
?>
Header.php (Just filling in what would be there:
PHP Code:
<html>
<head>
<title>(Dynamic Usually)</title>
<!--Meta & Javascript Here-->
</head>
<body>
<!--Whatever your header is...-->
<!--Navigation-->
<!--Rest of the page is called from index.php-->
Note: Header.php can contain PHP, I just used HTML. :P
The index.php file would contain JUST the page. All the content, sidebars, etc. Sidebars can be included from seperate files by using divisions and include()s.
Footer.php
PHP Code:
<div id=footer>
Here's your footer
</div>
<!--Whatever you need to end the page...-->
</body>
</html>
Is that good?