I\'m building an XML page inside of a function, and for some strange reason I don\'t get the whole thing spit out of the function. I\'ve tried
return $thisX
return $thisXml; } echo $thisXML;
$thisXML; only exists in the scope of the function. Either make $thisXML; global (bad idea) or echo getThisXML() where getThisXML is the function that returns $thisXML;
echo getThisXML()
$thisXML