View Single Post
Old September 1st, 2005, 10:13 AM   #3 (permalink)
rcsmith
Member
Verified Customer
 
Join Date: Feb 2002
Location: Northern California
Posts: 222
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 );
}
rcsmith is offline   Reply With Quote