Update Template
Edit the following form in order to update the selected import template
Mandatory Fields
- Template Name
- Source Type
- Schema and Client
- Row Header and Column Header only for XLS templates
getConnection(); $stmt = $pdo->prepare("SELECT * FROM excel_templates WHERE id = ?"); $stmt->execute([$id]); $template = $stmt->fetch(PDO::FETCH_ASSOC); if (!$template) { header("Location: templates_dashboard.php?status=error&message=" . urlencode("Template not found")); exit; } // Retrieve all routines $stmt = $pdo->prepare("SELECT * FROM routine"); $stmt->execute(); $routines = $stmt->fetchAll(PDO::FETCH_ASSOC); ?>