mirror of
https://github.com/gabrielkheisa/tugas-pjpb.git
synced 2025-09-18 00:41:08 +00:00
Add files via upload
This commit is contained in:
12
editdata.php
Normal file
12
editdata.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
include 'conn.php';
|
||||
|
||||
$id = $_POST['id'];
|
||||
$nama = $_POST['nama'];
|
||||
$email = $_POST['email'];
|
||||
$password = $_POST['password'];
|
||||
|
||||
$connect->query("UPDATE profil SET nama='".$nama."', email='".$email."', password='".$password."' WHERE id=". $id);
|
||||
|
||||
?>
|
Reference in New Issue
Block a user