How To Edit Data on Edit.php Page With The Help of GET () Method
1 First we receive id on edit.php page from data fetch table page like below. <form action="edit.php?id=<?php echo $id; ?>" method="post" enctype="multipart/form-data"> <input type="image" src="images/icon/icon.png" width="50" id="editm" name="editm" value="<?php echo $data['id'];?>" placeholder="Movie Name" required=""> <input type="hidden" id="idedit" name="idedit" value="<?php echo $data['id'];?>" placeholder="Movie Name" required=""> </form> 2 Then receive data from DB table with help of id like below and then run update query for update data in database like below example. <?php include("config.php"); $id = isset($_GET['id']) ? $_GET['id'] : ''; $query = "SELECT * from school_classmaster...