prepare("INSERT INTO marketing_assets (nombre, categoria, archivo_path) VALUES (?, ?, ?)"); $stmt->execute([$nombre, $categoria, $targetPath]); header("Location: marketing_assets.php?success=1"); exit; } } } header("Location: marketing_assets.php?error=1"); exit;