tugas-pjpb/editdata.php

12 lines
258 B
PHP
Raw Normal View History

2022-12-12 17:32:27 +07:00
<?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);
?>