View Single Post

  #1 (permalink)  
Old 04-10-2008
Ronald Raygun
 
Posts: n/a
Default PHP newbie (generating HTML content in a generic way)- HOW ?

Sorry for the crossposting - I'm not sure which is the most
active/relevant php ng yet ....


Hi, I am a PHP newbie, but have been programming C/C++ for over 10
years, so in that respect, I'm not a programming noob.

I am putting together a few web pages and I want to 'modularize' the
page content into 'blocks', so that I have php script responsible for
creating different blocks - e.g.

header.php (responsible for creating header section)
footer.php (responsible for creating footer section)
lhsnavig.php (responsible for creating lefthandside menu navigation section)

etc ....

can some one please provide me with skeleton code that I can use to
create such a 'framework' ? MTIA
Reply With Quote