well it worked fine with me.... i tried a few permutations with the link,banner and text and it didnt create any probs.
moreover... just a tip...i wud rather prefer to code like
<?
if ($b2['link'])
{
echo "<a href=". $b2['link'] . " target=_blank>";
}
if ($b2['banner']) {
echo "<img src=" . $b2['banner']." border=0><br>";
}
echo stripslashes($b2['text']);
if ($b2['link']) {
echo "</a> ";
}
?>
as it is easy to follow and i think performance-wise also better....although i'm not so sure of the latter...i'm confident of the former. and by that i certainly do NOT mean the formatting but the numerous <? ?> that were seen in ur piece of code.