how to update data in php using form

How to Update Data into Database using PHP

Today we will guide you How to Update Data into Database using PHP and MySQL.

index.php

<html>
<head>
<title>Update Data</title>
</head>
<body>
<form method="post" action="update.php" enctype="multipart/form-data">
<div class="name">
	<div class="name1"><h1>Student Name:</h1></div>
	<div class="name2"><input type="text" name="name" value="<?php echo $row['name']; ?>" /></div>