getConnection(); // Read line id from GET $lineId = isset($_GET['line_id']) ? (int)$_GET['line_id'] : 0; if ($lineId <= 0) { die("Invalid line id"); } // Load line data $stmtLine = $pdo->prepare("SELECT * FROM production_lines WHERE id = :id"); $stmtLine->execute([':id' => $lineId]); $line = $stmtLine->fetch(PDO::FETCH_ASSOC); if (!$line) { die("Production line not found"); } // Load parameters for this line $stmtParams = $pdo->prepare(" SELECT * FROM production_line_params WHERE line_id = :line_id ORDER BY position ASC, id ASC "); $stmtParams->execute([':line_id' => $lineId]); $params = $stmtParams->fetchAll(PDO::FETCH_ASSOC); ?> Parametri Linea <?= htmlspecialchars($line['name']) ?> - <?= htmlspecialchars($titlewebsite, ENT_QUOTES, 'UTF-8'); ?>
Parametri Linea: (Linea )
Elenco Parametri
Linea ID: - Colore:
ID Position Short label Label Icon class Preview Actions
No parameters defined for this line.
-