Changeset 461 for branches/beta


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

Legend:

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

    r460 r461  
    221221  mysql_select_db($db_webu);
    222222  $limit = 5;
    223      mysql_query("SET NAMES 'utf8'");
     223   
    224224       
    225225$pocet = mysql_num_rows(mysql_query("SELECT id FROM `articles`".$where."ORDER BY `date` DESC;"));
     
    228228if ($pocet != 0)
    229229        {
     230                  mysql_query("SET NAMES 'utf8'");
    230231$result = mysql_query("SELECT * FROM articles $where ORDER BY date DESC, id DESC LIMIT $limit OFFSET " . ($pocet - $offset));
    231232while($row = mysql_fetch_array($result)){
Note: See TracChangeset for help on using the changeset viewer.