show data in php from url in php code example
Example 1: php get data from url
// previous link
<a href="test_get.php?subject=PHP&web=W3schools.com">Test $GET</a>
// the code
<?php
echo "Study " . $_GET['subject'] . " at " . $_GET['web'];
?>
Example 2: how to fetch data from url in php properly
use <?php echo $_SERVER['REQUEST_URI']; ?> in action"" to get the data properly