2.4k questions

2.4k answers

94.1k users

8 Online Users
0 Member 8 Guest
Today Visits : 2054
Yesterday Visits : 1590
Total Visits : 2291090

Categories

Notice

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

Information

Viktoria Katsanioti,

Kaliningrad,

Russia,

matizegr@yahoo.com

0 votes
52 views

How do you display a raw XML file in a web browser using PHP?
in General by (95.0k 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.0k points)
    ...