Changeset 4325 for trunk/admin/stats.php


Ignore:
Timestamp:
Nov 20, 2009, 3:17:04 PM (14 years ago)
Author:
nikrou
Message:

Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/stats.php

    r4265 r4325  
    9696
    9797  $output = array();
    98   while ($row = mysql_fetch_assoc($result))
     98  while ($row = pwg_db_fetch_assoc($result))
    9999  {
    100100    array_push($output, $row);
     
    134134$first_time_key = null;
    135135
    136 while ($row = mysql_fetch_assoc($result))
     136while ($row = pwg_db_fetch_assoc($result))
    137137{
    138138  $time_keys = array(
     
    205205;';
    206206  $result = pwg_query($query);
    207   while ($row = mysql_fetch_assoc($result))
     207  while ($row = pwg_db_fetch_assoc($result))
    208208  {
    209209    $key = sprintf('%4u', $row['year']);
Note: See TracChangeset for help on using the changeset viewer.