Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- </head>
- <body>
- <?php
- include '..\connect.php';
- $customerID = $_POST['CustomerID'];
- $customerName = $_POST['CustomerName'];
- $SQL = "INSERT INTO customer (CustomerID, CustomerName) VALUES ($customerID, $customerName)";
- mysqli_query($koneksi, $SQL);
- echo "Tambah Data<br>";
- echo "ID: $customerID<br>";
- echo "Name: $customerName";
- mysqli_close($koneksi);
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement