Changeset 460 for branches/beta/inc


Ignore:
Timestamp:
Mar 1, 2009, 3:16:03 PM (16 years ago)
Author:
amun
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/inc/html.php

    r459 r460  
    223223     mysql_query("SET NAMES 'utf8'");
    224224       
    225 $pocet = mysql_num_rows(mysql_query("SELECT id FROM `articles` $where"));
     225$pocet = mysql_num_rows(mysql_query("SELECT id FROM `articles`".$where."ORDER BY `date` DESC;"));
    226226$offset = ($_GET["offset"] ? $_GET["offset"] : $pocet);
    227227
Note: See TracChangeset for help on using the changeset viewer.