How to edit a row based on user selection. Suppose user select edit button on reservation id 44. How can we edit based on it?
i use this for edit button
<form method="post" action="user_update.php">
<input type="submit" value="Edit" name="edit">
</form>
this to send to database
<?php
if(isset($_POST['edit']))
{
header("location: edit.php");}
?>