Holladiri
$string = "Hallo, dies ist ein Inhalt... <inhalt> weiter blabla";
hier möchte ich nun <inhalt> durch eine Variable ersetzen.
Wie mache ich das ?
Mit str_replace :-)
http://www.php.net/manual/de/function.str-replace.php
Ciao,
Harry
Holladiri
$string = "Hallo, dies ist ein Inhalt... <inhalt> weiter blabla";
hier möchte ich nun <inhalt> durch eine Variable ersetzen.
Wie mache ich das ?
Mit str_replace :-)
http://www.php.net/manual/de/function.str-replace.php
Ciao,
Harry