wplecturer.com
0 votes
17 views

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

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 (67.0k points)

    1.6k questions

    1.6k answers

    81.6k users

    12 Online Users
    2 Member 10 Guest
    Online Members
    Today Visits : 755
    Yesterday Visits : 1257
    Total Visits : 1892009
    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.
    1,644 questions
    1,649 answers
    81,585 users
    @ 2022 V Katsanioti ,All rights reserved