I have a really odd problem with $_GET. I'm fairly new to the HTML/CSS/PHP/MySQL stack. I've not used $_GET before and I'm trying to write a page that is used by a link in an email that confirms the user's email. The link contains a single parameter which is a GUID that I cross-reference against a database entry. While developing this, I've had problems getting hold of the $_GET parameters, so I've cut the page down to a test page thus:
<html>
    <head>
    </head>
    <body>
        Hullo.<br/>
        <?php
            echo $_GET['testparam'];
        ?>
        <br/>
        World.
        <br/>
    </body>
</html>
I am then calling this with:
http://mywebsite/dev/test.html?testparam=2
I get the following output:
Hullo.
World.
What is going on? I cannot make the test simpler. I'm using PHP 7.1 if that helps. Any advice very gratefully received.
 
     
    