|
Posted by bobzimuta on 04/06/06 03:46
davids58@gmail.com wrote:
> I currently create sites using xml and xsl to produce .html files. I'm
> thinking about using PHP and MySQL instead for performance reasons. Is
> there a way of using PHP to create a set of .html files in batch that
> can then be hosted on a server? The server in question doesn't
> necessarily support PHP.
>
> Thanks in advance,
> David
All depends on what hat kind of data you're using. If it's static, I
would just write out straight (X)HTML and use CSS to style it.
What kind of data are you wanting to use MySQL to store?
If you're looking to create separate components (say header, footer,
sidebar) and then inject them into each page, then you can write those
as HTML files, and in each php page
require_once( 'header.html' );
require_once( 'body.html');
.....
[Back to original message]
|