connect php to another html page code example
Example 1: link to another page php
echo ' <a href="index1.php">page1</a>';
echo '<a href="page2.php">page2</a>';
Example 2: php link to page
header("Location: https://example.com");
echo ' <a href="index1.php">page1</a>';
echo '<a href="page2.php">page2</a>';
header("Location: https://example.com");