Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("./config.php");
- $Aantal = $_POST["Aantal"];
- $id = 1;
- $model = LG-49SJ810V;
- $sql = "INSERT INTO Bestellingen (Aantal, id)
- VALUES ('$Aantal','$id')";
- if (empty($_POST["aantal"])) {
- exit("Er moet een aantal worden ingevoerd");
- }
- if($conn->query($sql)) {
- header("location: ./Eindscherm.html");
- } else {
- echo "Error: " . $sql . "<br>" . $conn->error;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement