if ($_SERVER['REQUEST_METHOD'] == "GET") { if (isset($_GET[linknr])) $linknr = $_GET[linknr]; else $linknr = 1; } else $linknr = 1; ?>