db->query($sql); // $stmt->execute([ // ':block_id' => $subBlockId, // ':photo_path' => $photo['path'] // ]); // } // } }