<?php
$data;
foreach ($_GET as $key => $value) {
    $data .= "$key = $value<br />";
}
?>
<p><?= $data ?></p>
