Ignore:
Timestamp:
Oct 30, 2004, 5:42:29 PM (19 years ago)
Author:
z0rglub
Message:
  • function mysql_query replaced by pwg_query : the same with debugging features
  • by default, DEBUG is set to 0 (off)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/user_search.php

    r539 r587  
    4646  $query.= ' WHERE user_id = '.$_GET['user_id'];
    4747  $query.= ';';
    48   mysql_query( $query );
     48  pwg_query( $query );
    4949  // selecting all private categories
    5050  $query = 'SELECT id FROM '.CATEGORIES_TABLE;
    5151  $query.= " WHERE status = 'private'";
    5252  $query.= ';';
    53   $result = mysql_query( $query );
     53  $result = pwg_query( $query );
    5454  while ( $row = mysql_fetch_array( $result ) )
    5555  {
     
    6161      $query.= ' ('.$_GET['user_id'].','.$row['id'].')';
    6262      $query.= ';';
    63       mysql_query ( $query );
     63      pwg_query ( $query );
    6464    }
    6565  }
     
    9797  $query = 'SELECT id FROM '.CATEGORIES_TABLE;
    9898  $query.= " WHERE status = 'private';";
    99   $result = mysql_query( $query );
     99  $result = pwg_query( $query );
    100100  while ( $row = mysql_fetch_array( $result ) )
    101101  {
Note: See TracChangeset for help on using the changeset viewer.