If I understand you correctly, let's construct 2 web pages:
index.html
<html>
<body>
<form action="newpage.php" method="get">
id: <input type="text" name="id" value="">
Name: <input type="text" name="name" value="">
<input type="submit" value="Submit">
</form>
</body>
</html>
newpage.php
<?php
if (isset($_GET)){
echo "display id as text ".$_GET['id']."<br>";
echo "display name as text ".$_GET['name']."<br>";
echo "display id as link <a href='#'>".$_GET['id']."</a><br>";
echo "display name as link <a href='#'>".$_GET['name']."</a><br>";
}
?>
Launch the index.html on your browser, type something into the id (say 123) and name (say sam) textboxes, press submit, the inputs will be sent via query string to the newpage.php as indicated in the action attribute of the form tag on index.html. The newpage.php will be display with the inputs, note the inputs appearing as query string (?id=123&name=sam) trailing the url on the address bar.