XML data not showing up on my php page....

Question Description

I need support with this Programming question so I can learn better.

how come my php code doesn't show the xml data?

 $request_url = "";$xml = simplexml_load_file($request_url);$post = $xml->posts->post->{‘regular-body’};
 echo '<h1>'.$post.'</h1>';?>

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

Hey, it looks like you are loading an empty feed source. What kind of feed are you trying to get? Did you get these codes online? Are you trying to print out the Trumblr feed? I can write some new codes for you.

henry (1070)
Carnegie Mellon University

Return customer, been using sp for a good two years now.

Thanks as always for the good work!

Excellent job


Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors