2.4k questions

2.4k answers

98.0k users

7 Online Users
0 Member 7 Guest
Today Visits : 1190
Yesterday Visits : 1735
Total Visits : 2425187



Dear All, These are my answers from Quora and primarily Google; please check the answer and from others sites; the answers are free and without any liability.To make a decision, write down all of the positives and negatives on a piece of paper.Thank you,

Elias Katsaniotis, MSc


Viktoria Katsanioti,




0 votes

How do you display a raw XML file in a web browser using PHP?
in General by (95.8k points)

1 Answer

0 votes

see from answer (, of course there are other ways like to create the fields)

How to display raw xml file in php to web browser
Hi i got an xml file and i want to display it on a website. I tried everything what i found and tried to do it my self but im a newbie to any code language. My code is this right now: <?php he...

  • <?php 
  • header('Content-type: text/xml'); 
  • $xml = simplexml_load_file(xmlfile.xml) ; 
  • echo $xml ; 
  • ?> 
    by (95.8k points)