okay this is hard for me but easy for you..
i have a main file index.php which has loads of code that I have written, I need the same code to be in loads of other files on the site.
The code includes, headers, menus, left column, right column etc. Basically the only differrent part on each of the files will be some content.
I was thinking that instead of having one big index.php file and having to copy and paste that code to loads of other files that I could make many small files such as header.php, footer.php, leftcol.php and so on.
Then once in each file I could somehow reference leftcol.php and that would always show.
The main reason I want to do this is if I change the code for the left column I'd rather just updated a leftcol.php file and this will flow through to all the other files instead of updating every file every time.
as I said, easy for you but hard for me