tugas-pjpb/editdata.php
2022-12-12 17:32:27 +07:00

12 lines
258 B
PHP

<?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);
?>