
thx z góry
<?php $dane1=""; $file1 = "rss.xml"; $dane2='<?xml version="1.0" encoding="windows-1250" ?> <rss version="2.0"> <channel> <title> Aktualności</title> <link>http://mojastrona.pl</link> <description></description> <lastBuildDate></lastBuildDate> <language>pl</language>\n'; $file2 = "rss.xml"; $file3 = "rss.xml"; { $dane3='<item> <title><![CDATA['.$wiersz['tytul'].']]></title> <link>http://mojastrona</link> <description><![CDATA['.$wiersz['tresc'].']]></description> <pubDate><![CDATA['.$wiersz['data'].']]></pubDate> </item>\n'; } $dane4='</channel> </rss>'; ?>