diff options
Diffstat (limited to 'rss.php')
-rwxr-xr-x | rss.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rss.php b/rss.php index 6e43c9c..716049b 100755 --- a/rss.php +++ b/rss.php | |||
@@ -15,9 +15,8 @@ echo('<?xml version="1.0"?>'); | |||
15 | <language>en-us</language> | 15 | <language>en-us</language> |
16 | <?php | 16 | <?php |
17 | 17 | ||
18 | $getitems = "SELECT * FROM comics WHERE status = \"publish\" ORDER BY comic_id DESC LIMIT 0,10"; | 18 | $getitems = $mysql_conn->query("SELECT * FROM comics WHERE status = \"publish\" ORDER BY comic_id DESC LIMIT 0,10"); |
19 | $getitems2 = mysql_query($getitems); | 19 | foreach ($getitems as $getitems3) |
20 | while ($getitems3 = mysql_fetch_array($getitems2)) | ||
21 | { | 20 | { |
22 | ?> | 21 | ?> |
23 | <item> | 22 | <item> |