$_get in php examples By using this super global variable we can het the posted values of get method. <form method="GET" > username:<input type="text" name="username"></br> password: <input type ="password" name="password"></br> <input type="submit" name="submit" value="submit"> </form> <?php echo $_GET['username']; ?>