tugas-pjpb/editdata.php
2022-12-12 16:44:21 +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);
?>