How to create a link to another PHP page
Use like this
<a href="index.php">Index Page</a>
<a href="page2.php">Page 2</a>
Easiest:
<a href="page2.php">Link</a>
And if you need to pass a value:
<a href="page2.php?val=1">Link that pass the value 1</a>
To retrive the value put in page2.php this code:
<?php
$val = $_GET["val"];
?>
Now the variable $val
has the value 1
.