0

I want to read data and xml attributes values from this url using php-

journey planner

I have never worked with xml before..So i need some suggestion for doing my task..

4

1 Answer 1

4

You can use simplexml_load_file(string $filename) to this end. Just pass into this function the full URL such as:

$url="your url";

$xmlinfo = simplexml_load_file($url);

print_r($xmlinfo);
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.