$s = $text; $s = preg_replace("/\[urlMovie=([^()<>\s]+?)\]((\s|.)+?)\[\/url\]/i", "<i><b><a style='color:#00405E; font-family:Verdana; text-decoration:none;' target=_blank href=/redir.php?url=\\1>\\2</a></b></i>", $s);
Moim celem jest, aby po najechaniu kursorem na link pojawiła się tabelka plakatu z nazwą. W tym celu chcę użyć onmouseover
onmouseover=\"return overlib('<table cellpadding=0 cellspacing=0 border=0 width=100%><td colspan=3 align=center style=\'font-size: 12px; font-weight:bold; background-color:#222323;\'>$name</td><tr>$poster2<td style=\'font-size:11px; font-weight:bold;\'>$opis</td></tr></table>', WIDTH, 500, DELAY, 200);\" onmouseout=\"return nd();\"
Niestety wszelkie proby dodania onmouseover do parametru replacement kończą się fiaskiem.