I want to show a title with the H2 tag
<p>Could someone look at this. </p>

<p>I want to show <code>echo htmlspecialchars($title)</code> in <code>&lt;h2&gt;</code> but everything I tried I get a blank page.</p>

<pre><code>&lt;div class="adsmanager_ads_desc"&gt;
    &lt;?php $strtitle = "";
    if (@$this-&gt;positions[5]-&gt;title) {
        $strtitle = JText::_($this-&gt;positions[5]-&gt;title);
    } 
    echo "&lt;h2&gt;" . @$strtitle . "&lt;/h2&gt;"; 

    if (isset($this-&gt;fDisplay[6]))
    {   
        foreach($this-&gt;fDisplay[6] as $field) {
        $c = $this-&gt;field-&gt;showFieldValue($this-&gt;content,$field); 
        if ($c != "") {
            $title = $this-&gt;field-&gt;showFieldTitle(@$this-&gt;content-&gt;catid,$field);

                if ($title != "") {
                    echo htmlspecialchars($title).": ";
                    echo "$c&lt;br/&gt;";
                }
            }
        }
    }
    ?&gt;
&lt;/div&gt;
</code></pre>

<p>Any suggestions?</p>
