If anchor is clicked php
<p>I'm trying to echo information on a page after and anchor has been clicked</p>

<pre><code>&lt;a id="anchor"&gt;Information&lt;/a&gt;
&lt;?php
if(?){
echo 'INFORMATION';
}
?&gt;
</code></pre>
