[Solved] Get Session ID of a link and produce Dynamic page PHP [closed]


Then add this code on your so called something.php

1)Link 1

<a href="https://stackoverflow.com/questions/16559631/xxx.php?link=1>Link 1 </a>

2) Link 2

<a href="xxx.php?link=2>Link 2 </a>

Then on xxx.php

do this

<?php

    if ($_GET['link'] == "1") {

       echo "hello";
    }
    if ($_GET['link'] == "2") {

       echo "hi";
    }
?>

2

solved Get Session ID of a link and produce Dynamic page PHP [closed]