Php Web Pages - How much php should I use?

  • Thread starter Thread starter Col
  • Start date Start date
C

Col

Guest
I'm new to making php pages but I can already see how useful they are!

However, I don't know how much php to use in them!
Currently I am using the server to include the topnavigation, rightskyscraper, pagestats, footer and topadverts. eg:
<head>
doctype
meta stuff
scripts
</head>
<div id="topadverts"><?php include $topadverts?></div>
<div id="content">
<?php include "content.html"?>
</div>
<div id="otherthings"><?php include $otherthings?></div>
<div id="footer"><?php include $footer?></div>

My question is: how much of my page should be written by php?
I'm thinking about using php to write the whole page, so all i need to include in a page is keywords, title, description and where to source the unique content. This would make it really easy to change all my pages at one.

Is this something real webmasters do?
What do you do?

Thanks a lot for your answer!
Colin
 
Back
Top