Ignore:
Timestamp:
Oct 30, 2004, 5:42:29 PM (20 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/group_perm.php

    r364 r587  
    4141  $query.= ' WHERE group_id = '.$_GET['group_id'];
    4242  $query.= ';';
    43   mysql_query( $query );
     43  pwg_query( $query );
    4444  // selecting all private categories
    4545  $query = 'SELECT id';
     
    4747  $query.= " WHERE status = 'private'";
    4848  $query.= ';';
    49   $result = mysql_query( $query );
     49  $result = pwg_query( $query );
    5050  while ( $row = mysql_fetch_array( $result ) )
    5151  {
     
    5757      $query.= ' ('.$_GET['group_id'].','.$row['id'].')';
    5858      $query.= ';';
    59       mysql_query ( $query );
     59      pwg_query ( $query );
    6060    }
    6161  }
     
    6464  $query.= ' FROM '.USERS_TABLE;
    6565  $query.= ';';
    66   $result = mysql_query( $query );
     66  $result = pwg_query( $query );
    6767  while ( $row = mysql_fetch_array( $result ) )
    6868  {
     
    8686$query.= " WHERE status = 'private'";
    8787$query.= ';';
    88 $result = mysql_query( $query );
     88$result = pwg_query( $query );
    8989while ( $row = mysql_fetch_array( $result ) )
    9090{
Note: See TracChangeset for help on using the changeset viewer.