diff options
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 |