If you want to include a HTML header and footer in a group of php scripts .... what is the best way to do so.
I have a static html header called header.inc and a html footer called footer.inc. Every php script in this group calles the header.inc -- then displays the dynamic information requested from the database -- then calles footer.inc.
Calling those files with include, require, or virtual works, but what is the difference ... or is one better than the next for this application?
I have a static html header called header.inc and a html footer called footer.inc. Every php script in this group calles the header.inc -- then displays the dynamic information requested from the database -- then calles footer.inc.
Calling those files with include, require, or virtual works, but what is the difference ... or is one better than the next for this application?