sortierung gefixt

git-svn-id: svn://svn.cccv.de/engel-system@235 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2007-08-11 13:33:59 +00:00
parent f190d3525d
commit 0379eb1662
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if( !IsSet( $_GET["news_begin"]))
if( !IsSet( $_GET["DISPLAY_NEWS"])) if( !IsSet( $_GET["DISPLAY_NEWS"]))
$_GET["DISPLAY_NEWS"] = 5; $_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); $Erg = mysql_query($SQL, $con);
// anzahl zeilen // anzahl zeilen