|
Should we change it to this if we'd like to fix it?
$query = "SELECT bigimage,bigimage2,bigimage3,title,user FROM {$Globals['pp_db_prefix']}products WHERE
userid=$uid";
$resulta = ppmysql_query($query,$link);
while ( list( $bigimage, $bigimage2, $bigimage3, $user ) = mysql_fetch_row($resulta) ) {
remove_all_files( $bigimage, $uid, $catid );
remove_all_files( $bigimage2, $uid, $catid );
remove_all_files( $bigimage3, $uid, $catid );
}
|