Quote:
|
Originally Posted by Alanmelon
I tried tinkering with ASP and PHP but couldn't work it out, and got angry  May have to revisit it then.
|
LOL - yeah, I remember my first attempts at doing database driven stuff, it can be frustrating when you are new to it.
Include files are a very simple thing to do (I think that's what Steve H is describing when he talks about the left.asp file). You have your main asp file for the page, then at a point in the html for that page you put a statement telling the server to include another asp file (which although it has an asp extension can be pure html, not a fully structured html page with a header, body etc as you would with frames - but just an html element - say a table). So although a page can exist as seperate source files on the server - all the outside world ever sees is one single page.
You do have to be a little careful that the end result is a syntactically valid page - worth running through an html validator. Dreamweaver supports include files in as much as it will display the complete page with all the includes, but if you want to edit the contents of one of the includes - you need to swap to editing that file, not the overall page.
http://www.w3schools.com/ is a good site for learning about web scripting.