diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2007-08-11 13:33:59 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2007-08-11 13:33:59 +0000 |
commit | 0379eb166294cf726bcfb882e0245b306fdef698 (patch) | |
tree | 2aa1209a75b0e1b19fd83a9bd2534b1c65c17b89 /www-ssl | |
parent | f190d3525d87e8dd05c4980ac8abb0691820eca0 (diff) |
sortierung gefixt
git-svn-id: svn://svn.cccv.de/engel-system@235 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-x | www-ssl/nonpublic/news_output.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |