prepare("SELECT {$find_field} FROM images WHERE theme = :theme"); $stmt->bindParam(':theme', $api, PDO::PARAM_STR); $stmt->execute(); ?>