You are here: Re: dumping xml and xsl for PHP and MySQL « PHP Programming Language « IT news, forums, messages
Re: dumping xml and xsl for PHP and MySQL

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');
.....

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация