A common requirement when designing a site is the ability to update the layout and HTML of the site, without having to know any PHP (and therefore not deleting that code you spent hours writing). The other advantage of such as system is that PHP and HTML code can be kept entirely seperate, making for far more logical HTML and PHP coding. There are a number of ways to do this, and this tutorial covers just one method, with 2 storage options.
Implementing a template based website
About the author
James Crowley
James first started this website when learning Visual Basic back in 1999 whilst studying his GCSEs. The site grew steadily over the years while being run as a hobby - to a regular monthly audien...
Interested in writing for us? Find out more.
PHP books
-
PHP & MySQL: The Missing Manual
If you can build websites with CSS and JavaScript, this book takes you to the next level—creating dynamic, database-driven websites with PHP and MySQL. Learn how to build a database, manage your content, and interact with users through queries and we...
PHP forum discussion
-
CorelDRAW VBA: cdrTraceLineDrawing FAILS, producing single linear path instead of Centerline trace?
by dancemanj (0 replies)
-
client/server application using activex
by beautifulheart (0 replies)
-
System Error &H8007007E. The specifed module could not be found.
by swiftsafe (5 replies)
-
Invitation to take part in an academic research study
by researchlab (0 replies)
-
Send SMS with SMPP
by mmahmoud (0 replies)
PHP podcasts
-
IBM developerWorks: TWOdW: Some of the best gifts come in the form of knowledge
Published 8 years ago, running time 0h4m
This week on developerWorks, Millard Ellingsworth explains how to make Scrum teams productive via "backlog grooming" with Rational Team Concert, Vikram Vaswani demonstrates how to create REST apps with the Slim PHP micro-framework, and more.
PHP jobs
-
PHP Developer
The-Escape in Basingstoke, United Kingdom
-
PHP Developer
Ideotec in Grand Rapids, United States
Full Benefits -
OpenEMI Hacker / Intern
EMI Music in London, United Kingdom
-
Mobile App Developer
WCNC-TV in Charlotte, United States
Comments