require_once('../blocks/connection_db.php');
$article = $_GET['article'];
$name = $_GET['name'];
$description = $_GET['description'];
$parameters = $_GET['parameters'];
$manufacturer = $_GET['manufacturer'];
$cost = $_GET['cost'];
$request = "UPDATE products SET name = '$name', description = '$description', parameters = '$parameters', manufacturer = '$manufacturer', cost = '$cost' WHERE article = $article";
$connection_db -> query($request);
header('Location:/within.php');
$request = "UPDATE products SET name = '$name', description = '$description', parameters = '$parameters', manufacturer = '$manufacturer', cost = '$cost' WHERE article = $article";
$request = "UPDATE products SET name = '$name', description = '$description', parameters = '$parameters', manufacturer = '$manufacturer', cost = '$cost' WHERE article = '$article'";