This PHP snippet isn't working:
<?php
$fille = simplexml_load_file("http://answers.yahooapis.com/AnswersService/V1/getQuestion?appid=dj0yJmk9OFRTTUI3NGdNNjREJmQ9WVdrOU5FZFBURzFqTkdNbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD1iYg--&question_id=20080617101425AAmo159")
echo $fille->Question->Answers->Answer[0]->Content[0];
?>
Its purpose is to parse this XML file, and to get the first answer's contents.
http://answers.yahooapis.com/AnswersService/V1/getQuestion?appid=dj0yJmk9OFRTTUI3NGdNNjREJmQ9WVdrOU5FZFBURzFqTkdNbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD1iYg--&question_id=20080617101425AAmo159
However, upon runtime I get this error:
Parse error: syntax error, unexpected T_ECHO in /home/content/76/10008776/html/trysearch.php on line 3