Compare - XML vs. PHP Comparing XML to PHP is something irrelevant as both are totally different. XML is a technology that is used to store data primarily. We can say that XML file hold structured and self-describing data. If you look at a tag in XML document you can say what a particular number denotes or what a particular word or content denotes. For example, a number like 15 is meaningless in an html file but in an XML file it might denote the Price of a book in USD or it could be the number of items in stock. The tag in XML describes that clearly. PHP is a high level scripting language used to create dynamic web pages. It is cross platform and you can embed html within PHP. It is easy to edit the PHP pages with an editor just like you edit the other web pages. The PHP scripts reside on the server and you need a web server to process the scripts and give an html page to the client. With PHP you can interact with a database or an XML file and get data from them.
|
|
||
|
|||
“Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.”
Copyright - © 2004 - 2019 - All Rights Reserved.