I have over 300,000 images in a folder. I need to remove approximately 15,000
I need a loop to do this. I am trying to use the following code, but it only deletes 1 at a time.
$sql="SELECT image FROM propImages p INNER JOIN sold s ON p.listingId = s.listingId";
$image = $res1[...
Skills: mysql administration, mysql programming, php