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.
$val
1
Html a tag
Link in html
<a href="index1.php">page1</a> <a href="page2.php">page2</a>
Html in php
echo ' <a href="index1.php">page1</a>';echo '<a href="page2.php">page2</a>';