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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -