Changeset 461 for branches/beta
- Timestamp:
- Mar 1, 2009, 3:17:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/inc/html.php
r460 r461 221 221 mysql_select_db($db_webu); 222 222 $limit = 5; 223 mysql_query("SET NAMES 'utf8'");223 224 224 225 225 $pocet = mysql_num_rows(mysql_query("SELECT id FROM `articles`".$where."ORDER BY `date` DESC;")); … … 228 228 if ($pocet != 0) 229 229 { 230 mysql_query("SET NAMES 'utf8'"); 230 231 $result = mysql_query("SELECT * FROM articles $where ORDER BY date DESC, id DESC LIMIT $limit OFFSET " . ($pocet - $offset)); 231 232 while($row = mysql_fetch_array($result)){
Note:
See TracChangeset
for help on using the changeset viewer.