Monday, 30 November 2015

42_introduction_of_XML_in_PHP

Introduction of XML


XML: - Extensible markup language. It creates custom tag that allows us to specific data and pick up data using different tag.





Example Site like facebook, youtube etc… Write the code in home.php page as specify below. One thing remember is that in PHP we have new function named simplexml_load_file() to load our .xml file into .php page





XML IS CASE SENSITIVE


1) using the variable $author_xml call the tag which you want and run the page.






XML IS CASE SENSITIVE


1) using the variable $author_xml call the tag which you want and run the page.






No comments:

Post a Comment