<?php
$_SERVER['DOCUMENT_ROOT'] = 'c:/Users/light/sam/5130';
require_once 'c:/Users/light/sam/5130/lib/mydb.php';
try {
    $pdo = db_connect();
    $stmt = $pdo->query("SHOW COLUMNS FROM output LIKE 'num'");
    $row = $stmt->fetch(PDO::FETCH_ASSOC);
    print_r($row);
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
?>
