How to append number sign (#) to the URL in php
<p>I have this row in a php file. It creates the URL path:</p>

<pre><code>$output = l($image, "article/{$article-&gt;aid}", $options);
</code></pre>

<p>The output is good, but I want to append '#' sign with a word to it. E. g.:</p>

<pre><code>/articles/example#comments
</code></pre>

<p>I have tried with different combinations, but didn't find the right one. I hoped that the plus sign combination will work, but then it always points to the root:</p>

<pre><code>$output = l($image, "article/{$article-&gt;aid}"+"#comments", $options);

Result is "/"
</code></pre>

<p>Does someone know how to do this? Thank you!</p>
