<?php include 'db.php'; // if(isset($_POST['firstName'])) // { // $firstName = $_POST['firstName']; // $id = $_POST['getId']; // $fNameUpdate = "UPDATE addSubUser SET firstName = '$firstName' WHERE id = '$id'"; // mysqli_query($conn, $fNameUpdate) or die('Error querying database.'); // } ?>