$stmt = $pdo->prepare(" SELECT * FROM shop_settings WHERE user_id = ? "); $stmt->execute([$vendor_id]); $settings = $stmt->fetch();