Changeset 4325 for trunk/include/functions_notification.inc.php
- Timestamp:
- Nov 20, 2009, 3:17:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_notification.inc.php
r4265 r4325 146 146 $query = 'SELECT count(distinct '.$field_id.') as CountId 147 147 '.$query; 148 list($count) = mysql_fetch_row(pwg_query($query));148 list($count) = pwg_db_fetch_row(pwg_query($query)); 149 149 return $count; 150 150 … … 179 179 $infos = array(); 180 180 181 while ($row = mysql_fetch_assoc($result))181 while ($row = pwg_db_fetch_assoc($result)) 182 182 { 183 183 array_push($infos, $row); … … 449 449 $result = pwg_query($query); 450 450 $dates = array(); 451 while ($row = mysql_fetch_assoc($result))451 while ($row = pwg_db_fetch_assoc($result)) 452 452 { 453 453 array_push($dates, $row); … … 469 469 $dates[$i]['elements'] = array(); 470 470 $result = pwg_query($query); 471 while ($row = mysql_fetch_assoc($result))471 while ($row = pwg_db_fetch_assoc($result)) 472 472 { 473 473 array_push($dates[$i]['elements'], $row); … … 489 489 $dates[$i]['categories'] = array(); 490 490 $result = pwg_query($query); 491 while ($row = mysql_fetch_assoc($result))491 while ($row = pwg_db_fetch_assoc($result)) 492 492 { 493 493 array_push($dates[$i]['categories'], $row);
Note: See TracChangeset
for help on using the changeset viewer.