Changeset 587 for trunk/admin/user_search.php
- Timestamp:
- Oct 30, 2004, 5:42:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/user_search.php
r539 r587 46 46 $query.= ' WHERE user_id = '.$_GET['user_id']; 47 47 $query.= ';'; 48 mysql_query( $query );48 pwg_query( $query ); 49 49 // selecting all private categories 50 50 $query = 'SELECT id FROM '.CATEGORIES_TABLE; 51 51 $query.= " WHERE status = 'private'"; 52 52 $query.= ';'; 53 $result = mysql_query( $query );53 $result = pwg_query( $query ); 54 54 while ( $row = mysql_fetch_array( $result ) ) 55 55 { … … 61 61 $query.= ' ('.$_GET['user_id'].','.$row['id'].')'; 62 62 $query.= ';'; 63 mysql_query ( $query );63 pwg_query ( $query ); 64 64 } 65 65 } … … 97 97 $query = 'SELECT id FROM '.CATEGORIES_TABLE; 98 98 $query.= " WHERE status = 'private';"; 99 $result = mysql_query( $query );99 $result = pwg_query( $query ); 100 100 while ( $row = mysql_fetch_array( $result ) ) 101 101 {
Note: See TracChangeset
for help on using the changeset viewer.