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 10/27/97 11:44

davids58@gmail.com wrote:
> So, how would I go about creating them statically using PHP and MySQL?

There are a few options to parse XML. I like the DOM functions
[http://us2.php.net/manual/en/ref.dom.php] or even SimpleXML
[http://us2.php.net/manual/en/ref.simplexml.php] if you have php 5.
They'll let you access the nodes of your document, so then you can put
the data inside your HTML tags.

If the document is static, there's no use using MySQL since it's extra
load and processing time. Better to leave the XML in it's source form.

But even so, if the document is indeed static, it's really best to use
the XML parser and write the HTML out to text files, so that you'll
never have to do it again.

 

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

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