PHP code:
foreach( )
{
if()
{
$title = $title . $sub['TITLE']."<br />";
}
}
echo '<a title="$title"> </a>';
when I place the cursor in anchor tag, the title should show one by one
i.e A
b
c
but it showing now as
A <br />
B <br />
C <br />
Why the break tag showing here??
and also I need to know how to remove <br/> i.e only the last <br/> tag in the string?
The
titletooltip does not respected HTML. Use"\n"instead.