PHP get id of <a> been pressed
<p>I have this:</p>

<pre><code>$pageid = $page-&gt;getCollectionID(); // here I get the page ID

&lt;a id="&lt;?php echo $pageid ?&gt;"&gt;&lt;/a&gt; // Here I assign it to show it in &lt;a&gt; tag
</code></pre>

<p>So I have <code>&lt;a id="pageid"&gt;&lt;/a&gt;</code></p>

<p>When I press on link with "pageid" I want to know which ID has this link being pressed.
Is there a way to do this with PHP?
Because I want to assign this Pageid to some content so it will show the content of pressed link.</p>
