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/include/category_subcats.inc.php

    r579 r587  
    5151  $row_number = 0;
    5252}
    53  
     53
    5454foreach ($subcats as $subcat_id => $non_empty_id)
    5555{
     
    6262  WHERE id = '.$non_empty_id.'
    6363;';
    64   $row = mysql_fetch_array(mysql_query($query));
     64  $row = mysql_fetch_array(pwg_query($query));
    6565   
    6666  $query = '
     
    8484  $query.= '
    8585;';
    86   $image_result = mysql_query($query);
     86  $image_result = pwg_query($query);
    8787  $image_row    = mysql_fetch_array($image_result);
    8888
Note: See TracChangeset for help on using the changeset viewer.