tugas-pjpb/editdata.php

12 lines
258 B
PHP
Raw Normal View History

2022-12-12 16:44:21 +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);
?>