Third notice (just saw the update):
Why not using the class attribut instead of adding a span?
Instead of:
Code:
<span class="boplink"><a href="'.trim($boplink).'"' . $boptarg . $bopnofollow . ' >' . $bop_find_array[$bopi] .'</a></span>
try:
Code:
<a class="boplink" href="'.trim($boplink).'"' . $boptarg . $bopnofollow . ' >' . $bop_find_array[$bopi] .'</a>
I guess the span tag may be xhtml invalid... (not tested but I guess it can be...)