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
select version() as Version;
<?php
$rss_link="https://rus.postimees.ee/rss";
$content=file_get_contents($rss_link);
$xml=new SimpleXMLElement($content);
foreach($xml->channel->item as $v){
$arr[]=[
'title'=>(string)$v->title,
'descr'=>(string)$v->description,
'date'=>(string),mktime(1, 2, 3, 4, 5, 2006))$v->pubDate,
];
}
print_r($arr);