<?php
require 'config/db.php';

$id = 17;
$sql = "SELECT id, name, delhivery_synced FROM tbl_pickup_points WHERE id = :id";
$stmt = $pdo->prepare($sql);
$stmt->bindValue(':id', $id, PDO::PARAM_INT);
$stmt->execute();

$result = $stmt->fetch(PDO::FETCH_ASSOC);

if ($result) {
    echo "ID: " . $result['id'] . "\n";
    echo "Name: " . $result['name'] . "\n";
    echo "Synced: " . $result['delhivery_synced'] . "\n";
} else {
    echo "ID 17 not found.\n";
}
?>