$type) { if (isset($_SESSION['csv_analysis']['schema'][$col])) { $_SESSION['csv_analysis']['schema'][$col]['type'] = $type; } } // Re-run suggestions if needed (or just use updated schema in dashboard.php) } $_SESSION['show_dashboard'] = true; } header('Location: index.php'); exit; } $show_dashboard = isset($_SESSION['show_dashboard']) && $_SESSION['show_dashboard']; $csv_analysis = isset($_SESSION['csv_analysis']) ? $_SESSION['csv_analysis'] : null; ?>
Upload a CSV or TSV file to automatically generate an interactive dashboard.