Designed By Dotcomwebdesign.com Powered By CMSimple.dk
 

 
WELCOME > Workshops > sample html page > Dynamic Page

Dynamic Page

Once you use SSI (server side includes) you can break out reusable parts of your page into separate files, and then include them in your page. Here are the parts you might want to reuse. Each should be saved as its own file. (remove lines and notes between them)

To include these, put in your php the line require("pagename.xyz"); 
(replacing with the name of your file and extension).



save as "pagetop.htm"



 

     

     </DIV> <DIV style="LINE-HEIGHT: normal; BORDER-COLLAPSE: collapse">            CHANGE ME!! Put the title of your page or site here!!!!</DIV> <DIV style="LINE-HEIGHT: normal; BORDER-COLLAPSE: collapse">     

     




save as "pagebottom.htm"


alt="Valid XHTML 1.1" 
height="31" width="88" style = "border: 0px" />
 





save as "home.php"

require ("pagetop.htm");
?>