-->"; echo "\n"; echo "\nwww.slovnicek.sk/rss"; echo "\nhttp://www.slovnicek.sk"; echo "\nOtvorený prekladový slovník slovnicek.sk"; echo "\nsk"; echo "\n".date("d.m.Y H:i:s").""; echo "\nslovnicek.sk"; echo "\nhttp://www.slovnicek.sk"; echo "\n15"; /* echo "\n"; echo "\nBBC News"; echo "\nhttp://news.bbc.co.uk/nol/shared/img/bbc_news_120x60.gif"; echo "\nhttp://news.bbc.co.uk/go/rss/-/1/hi/uk/default.stm"; echo "\n"; */ include_once("./db.inc.php"); $sql = " SELECT slovo_sk, preklad, datum, jazyk FROM `slo_prekladovy_slovnik` WHERE id >= (SELECT MAX(id) FROM slo_prekladovy_slovnik)-100 ORDER BY id DESC LIMIT 100"; $result = mysql_query($sql,$connection); $i=1; while ($rss = mysql_fetch_object($result)) { $i++; echo "\n"; echo "\n$rss->datum | nová slovná dvojica ($rss->jazyk)"; echo "\n$rss->slovo_sk - $rss->preklad"; echo "\nhttp://www.slovnicek.sk"; echo "\n"; echo "\n$datum"; echo "\n$rss->jazyk"; echo "\n"; } echo $_out; echo "\n"; echo "\n"; ?>