PHP include() function generate error for xml -
need help.
i create php file generate xml displaying marker in google map. works fine when open directly dir://file.php
, xml file shown result.
but when open using include function : include ('file.php'); need in website structure, getting error :
xml parsing error: mismatched tag.....
why php include
function generated error?
because shouldn't include file doesn't contain php code.
use readfile()
instead
Comments
Post a Comment