Changeset 4265 for trunk/include/functions_category.inc.php
- Timestamp:
- Nov 15, 2009, 1:26:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_category.inc.php
r3282 r4265 241 241 $query.= ' FROM '.CATEGORIES_TABLE.' WHERE id = '.$category_id; 242 242 $query.= ';'; 243 $row = mysql_fetch_a rray( pwg_query( $query ) );243 $row = mysql_fetch_assoc( pwg_query( $query ) ); 244 244 $uppercats = $row['uppercats']; 245 245 } … … 252 252 $query.= ';'; 253 253 $result = pwg_query( $query ); 254 while( $row = mysql_fetch_a rray( $result ) )254 while( $row = mysql_fetch_assoc( $result ) ) 255 255 { 256 256 $database_dirs[$row['id']] = $row['dir']; … … 276 276 AND c.id = '.$category_id.' 277 277 ;'; 278 $row = mysql_fetch_a rray(pwg_query($query));278 $row = mysql_fetch_assoc(pwg_query($query)); 279 279 return $row['galleries_url']; 280 280 } … … 385 385 386 386 $subcats = array(); 387 while ($row = mysql_fetch_a rray($result))387 while ($row = mysql_fetch_assoc($result)) 388 388 { 389 389 array_push($subcats, $row['id']);
Note: See TracChangeset
for help on using the changeset viewer.