From 0379eb166294cf726bcfb882e0245b306fdef698 Mon Sep 17 00:00:00 2001 From: cookie Date: Sat, 11 Aug 2007 13:33:59 +0000 Subject: [PATCH] sortierung gefixt git-svn-id: svn://svn.cccv.de/engel-system@235 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/nonpublic/news_output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-ssl/nonpublic/news_output.php b/www-ssl/nonpublic/news_output.php index 03ad2f27..7263b261 100755 --- a/www-ssl/nonpublic/news_output.php +++ b/www-ssl/nonpublic/news_output.php @@ -18,7 +18,7 @@ if( !IsSet( $_GET["news_begin"])) if( !IsSet( $_GET["DISPLAY_NEWS"])) $_GET["DISPLAY_NEWS"] = 5; -$SQL = "SELECT * FROM `News` ORDER BY 'ID' DESC LIMIT ". intval($_GET["news_begin"]). ", ". intval($_GET["DISPLAY_NEWS"]); +$SQL = "SELECT * FROM `News` ORDER BY `ID` DESC LIMIT ". intval($_GET["news_begin"]). ", ". intval($_GET["DISPLAY_NEWS"]); $Erg = mysql_query($SQL, $con); // anzahl zeilen