how to fetch data from url in php
Here is an example of code to fetch data from a database and display it on a web page:
Step 1: pass the id when click ‘ EDIT ‘ action

Step 2 : get the data $id = $GET[‘id’]; and write the query

Step 3 : fetch data run while loop

Step 4: now write the code for echo get data here
<?php echo $row[“name”]?>

Step 5: last is end the while loop after form
