# Script pada file proses.php
```php=
<?php
require_once "database.php";
// var_dump($_POST);
// die();
$nama = $_POST['nama'];
$jk = $_POST['jk'];
$tempatLahir = $_POST['tempatLahir'];
$tanggalLahir = $_POST['tanggalLahir'];
$alamat = $_POST['alamat'];
//syntax sql
/*
Format SQL sql insert
INSERT INTO nama_table(nama_column1, nama_column2, . . .)
VALUES ('nilai_column1', 'nilai_column2', . . .);
*/
$sql_insert = "INSERT INTO `murid` (`nama_murid`, `jk_murid`, `tempatLahir_murid`, `tanggalLahir_murid`, `alamat`) VALUES ('$nama', '$jk', '$tempatLahir', '$tanggalLahir', '$alamat')";
//proses syntax sql
if (mysqli_query($db_connection, $sql_insert)) {
echo "New record created successfully";
} else {
echo "Error: " . $sql_insert . "<br>" . mysqli_error($db_connection);
}
?>
```