SHARE
TWEET

simpan.php

a guest Dec 8th, 2019 156 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // simpan
  3. include '../proses/koneksi.php';
  4. if (isset($_POST['simpan'])) {
  5.     $nim = $_POST['nim'];
  6.     $nama = $_POST['nama'];
  7.     $email = $_POST['email'];
  8.     $password = md5($_POST['password']);
  9.     $level = $_POST['level'];
  10.     $no_hp = $_POST['no_hp'];
  11.     $gbr = "ex.jpg";
  12.     $sql = mysqli_query($koneksi, "INSERT into user (nim,nama,email,password,level,no_hp,gbr) values ('$nim','$nama','$email','$password','$level','$no_hp','$gbr')");
  13.     return true;
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top