I had this form
<form action="" method="GET">
<label>NAME:</label>
<input type="text" name="name" id="name" required/>
<button>GET</button>
</form>
<?php
if (isset($_GET['name'])){
$name = $_GET['name'];
echo "hello".$name;}
?>
If entered one name "google" after that again I entered "example"
is there any way by which I can display recent entered names when I type another?