Changeset 4325 for trunk/picture.php
- Timestamp:
- Nov 20, 2009, 3:17:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r4265 r4325 58 58 '.%" ESCAPE "/" LIMIT 1'; 59 59 } 60 if ( ! ( $row = mysql_fetch_assoc(pwg_query($query)) ) )60 if ( ! ( $row = pwg_db_fetch_assoc(pwg_query($query)) ) ) 61 61 {// element does not exist 62 62 page_not_found( 'The requested image does not exist', … … 94 94 ).' 95 95 LIMIT 1'; 96 if ( mysql_num_rows( pwg_query($query) ) == 0 )96 if ( pwg_db_num_rows( pwg_query($query) ) == 0 ) 97 97 { 98 98 access_denied(); … … 388 388 $result = pwg_query($query); 389 389 $related_categories = array(); 390 while ($row = mysql_fetch_assoc($result))390 while ($row = pwg_db_fetch_assoc($result)) 391 391 { 392 392 array_push($related_categories, $row); … … 416 416 $result = pwg_query($query); 417 417 418 while ($row = mysql_fetch_assoc($result))418 while ($row = pwg_db_fetch_assoc($result)) 419 419 { 420 420 if (isset($page['previous_item']) and $row['id'] == $page['previous_item']) … … 768 768 ;'; 769 769 $result = pwg_query($query); 770 $row = mysql_fetch_assoc($result);770 $row = pwg_db_fetch_assoc($result); 771 771 772 772 if ($row['nb_fav'] == 0)
Note: See TracChangeset
for help on using the changeset viewer.