Skip to content
Advertisement

Echo something with PHP code in the xml file

I am a novice and I work in PHP. And I do not know anything about xml. My English is not very good. If you see a typo, please edit it

Please see the code below

JavaScript

There is a problem with the output and I can not use the echo. The photo below is my output

view photo

please guide me

Advertisement

Answer

I found out from the url that you want to create a sitemap. You should see the output inside a xml code. for example:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement