/ Published in: PHP
                    
                                        
Simple piece of PHP to get the contents of a specified tag from an XML file and return it
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
//Get the contents of a specified tag ($tag) of the specified XML file ($xmlFile)
function getXmlData($xmlFile, $tag)
{
return $output;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                