Information on PHP.net about include()
It's amazingly easy.
I'd suggest
this PHP module (if your running it on your computer).
PHP is an awesome langauage and while I have a lot to learn (check genius bar or ask silent echos
) it is relatively easy and very powerful.
To have the same code show up on everypage simple add this to your html (php must be installed on the server):
<?php
include('dir/to/file');
?>
I'm pretty sure that is how you do it. Your web page probably has to end in .php instead of html or whatever, it won't effect anything though.
You just put the repeating code in that file and then it will be placed wherever you have the include().
I'm sure someone will come tell me I'm wrong but I tried
If you want to learn PHP without buying a book there isn't a place better then php.net