PHP echo $_SERVER['PHP_SELF'] with added variable?
<p>Just want to do <code>$_SERVER['PHP_SELF']</code> as a link with ?logout=1 appended to it.  </p>

<pre><code>&lt;a href="&lt;?php echo ''$_SERVER['PHP_SELF']'.logout=1' ?&gt;" id="add"&gt;&lt;input type="button" value="LOGOUT" /&gt;&lt;/a&gt;
</code></pre>

<p>gives </p>

<pre><code>Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in F:\export\srv\www\vhosts\main\htdocs\php\assign3\m_a2_functions.php on line 90
</code></pre>
