hi , im new in php. i want to make a script that it read some feed and write a feed with all of the posts. exactly a normal rss…
feed address are in database .
i write this code but tags was deleted…
while($res = mysql_fetch_array($resualt))
{
$xml = $res['feed'];
$xmlDoc = new DOMDocument();
$xmlDoc->load($xml);
$x=$xmlDoc->getElementsByTagName('channel')->childNodes[0]->nodeValue;
echo ($x);
}
iam new in english… thank you every one.