Hallo Michael,
$text = "dies ist ein text";
$old = "ein";
$new = "<b>$old<b>";
Dafür tut es eine einfache Stringfunktion[1] - welche, darfst du dir raussuche :-)
Grüße aus Nürnberg
Tobias [der sich ein "rtfm" verkniffen hat :-)]
[1] http://www.php.net/manual/de/ref.strings.php
--
Selfcode: sh:( fo:) ch:? rl:( br:< n4:& ie:% mo:| va:) de:] zu:) fl:( ss:| ls:[ js:|
Selfcode: sh:( fo:) ch:? rl:( br:< n4:& ie:% mo:| va:) de:] zu:) fl:( ss:| ls:[ js:|