<?php
error_reporting(0);
$fullname = $_GET['fullname'];
var_dump($fullname);
echo 'Hi '.$fullname;
?>
<form action="form.php" method="get">
Enter your name: <input type = "text" name="fullname"><br>
<input type="submit" name="Submit" value="Send Name">
</form>