Initial Commit: Tugas Semua Pertemuan
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
include 'koneksi.php';
|
||||
|
||||
$type = $_POST['type'];
|
||||
$coords = $_POST['coords'];
|
||||
|
||||
mysqli_query($conn, "INSERT INTO shapes (type, coordinates)
|
||||
VALUES ('$type','$coords')");
|
||||
|
||||
echo "success";
|
||||
?>
|
||||
Reference in New Issue
Block a user