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/user_list.php

    r4304 r4325  
    5050  {
    5151    $username = str_replace('*', '%', $_GET['username']);
    52     $filter['username'] = mysql_real_escape_string($username);
     52    $filter['username'] = pwg_db_real_escape_string($username);
    5353  }
    5454
     
    116116
    117117  $result = pwg_query($query);
    118   while ($row = mysql_fetch_assoc($result))
     118  while ($row = pwg_db_fetch_assoc($result))
    119119  {
    120120    $user = $row;
     
    140140;';
    141141    $result = pwg_query($query);
    142     while ($row = mysql_fetch_assoc($result))
     142    while ($row = pwg_db_fetch_assoc($result))
    143143    {
    144144      array_push(
     
    493493$result = pwg_query($query);
    494494
    495 while ($row = mysql_fetch_assoc($result))
     495while ($row = pwg_db_fetch_assoc($result))
    496496{
    497497  $groups[$row['id']] = $row['name'];
Note: See TracChangeset for help on using the changeset viewer.