How to write a link like <a href="#id"> which link to the same page in PHP?
<p>like in HTML, I could write <code>&lt;a href="#id"&gt;</code> which could link to the place where I make a <code>&lt;a id="id"&gt;</code> . but it seems that it does not work in PHP. How to do that?</p>

<p>the original code is from bootstrap <a href="http://twitter.github.com/bootstrap/components.html#navs" rel="nofollow">http://twitter.github.com/bootstrap/components.html#navs</a></p>

<pre><code>&lt;div class='tabbable'&gt;
&lt;ul class='nav nav-tabs'&gt;
    &lt;li class='active'&gt;&lt;a href='#tab1' data-toggle='tab'&gt;Drinks&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href='#tab2' data-toggle='tab'&gt;Bread&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class='tab-content'&gt;
    &lt;div class='tab-pane active' id='tab1'&gt;&lt;p&gt;some&lt;/p&gt;
    &lt;/div&gt;

    &lt;div class='tab-pane' id='tab2'&gt;&lt;p&gt;many&lt;/p&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p></p>

<p>but just when I turned to PHP, the tab link does not work</p>
