Hi Everyone,

What I want to learn is how to write a php template. So any edits I make to the headers,footers etc. are changed throughout the website. I know I can just use a series of includes but I was wondering if there is a right way to make these templates. Any links to comprehensive tutorials or just links to a tutorial that will show me the right way to go about things would be so handy!

Rgds

Recommended Answers

All 2 Replies

add global includes and also use switch{} it will resolve your problem

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.