Mailinglisten-Archive |
hi liste..
kan mir jemand sagen, wieso ich bei dieser syntax immer noch im ergebnis
ein html-tag habe?
'$txt[4]' ist z.bsp. '<BR><BR></font><B><I>titel test</i></b><BR><FONT
SIZE="-1">- '
preg_match("|<[\w]*[^>]>+(.*)</[\w]*[^>]>+|i",$txt[4],$titel)
print $titel[1];
ergibt leider '<I>titel test</i>', warum? ich will iegentlich nur 'titel
test' haben.
bitte keine tips mit: nimm doch strip_tags() ;)
ciao
php::bar PHP Wiki - Listenarchive