Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
<?
$file= 'https://www.postimees.ee/rss';
$xml = simplexml_load_string($file);
$json = json_encode($xml);
$array = json_decode($json,TRUE);
for($x=0;$x=24;$x++){
echo $array['channel']['item'][$x]['title']."\n";
}