php doesn't replace html.
The php script is used to output a page of html, some elements of which have been built as a result of programmatic decisions within that script.
The most useful php feature is INCLUDE files. It allows the "page" to be built from chunks of code, and for single chunks to be re-used in multiple pages of the site over and over again.
That allows site-wide changes to be very rapidly implemented. The usage of CSS for styling is crucial. Separation of content and style, once you cross that bridge, opens a whole new way of thinking
Last edited by FRANKLYN; 10-30-2008 at 03:21 AM.
|