Simply recieve the details from the same variable
$_GET["link"] if using GET METHOD or $_POST["link"] if POST
Then output the data