For some reason there is an issue with the & character, the code works now, but it does not longer validate. Would be very helpful if someone who knows php could look in it.
Thnak You so much
monk333
CODE:
if (isset($this->content['populartags'])) {
$newarray=( array_slice( $this->content['populartags'], 0, 12 ) );
$this->output('<DIV CLASS="qa-sidebar-poptags-bbb">');
$this->content['populartags'];
$this->output('<h2 CLASS="qa-sidebar-poptags-h2-bbb">');
echo "Popular Tags";
$this->output('</h2>', '');
$this->output('<p CLASS="qa-sidebar-poptags-p-bbb">');
foreach($newarray AS $name => $value)
{
$this->output('<a class="qa-sidebar-poptags-link-bbb" href="/tag/'.$name.'"><span class="nobreak">');
$this->output(''.$name.'');
$this->output('</span></a>');
}
$this->output('</p>', '');
echo "<p class=\"qa-sidebar-poptags-p-bbb\"><a class=\"qa-sidebar-poptags-link-all-bbb\" href=\"/tags/\"><span class=\"nobreak\">All Topics</span></a></p>";
$this->output('</DIV>', '');
}