Jump to content

Get other documents in one file?


schreiber

Recommended Posts

Hi,

 

Maybe my question is lame and a no brainer for all you php guru's, but here goes anyway ;)

 

I coded my entire wordpress theme in xhtml / php / css in notepad. Wordpress is a cool blog, but I really dont need the blog element of it, only the basic build up and page design possibilities that php and css gives me.

 

I like the feature that you can "GET" - say a header, some content, a menu and a footer from different php documents with php. My needs for my webpage are very basic. To make things simple: How would I make an index file get "header.php", "content.php" and "footer.php"? Is it simple to code? This way I can change the menu as needed in one page, and use css to edit all my pages at once.

 

Does my question make sense? ;D

 

Thank you in advance

Thomas Schreiber

mayfly.dk

Link to comment
https://forums.phpfreaks.com/topic/111447-get-other-documents-in-one-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.