Mailinglisten-Archive |
> habe ne frage zu ereg_replace();
> wenn ich nun beispielsweise alles was in tags steht also alles in < und in
>
> dazwischen und die pfeile rausfiltern will wie mache ich das ?
Normalerweise nimmst Du dafür strip_tags().
Sonst: ereg_replace("<[^]*>", "", $string)
Mit freundlichen Grüßen,
Tobias Ratschiller
--
<?php function m($x){global $y,$z;$x=$x>0?-9:$x;$z=($z=$x+5)>0?$z:-$z;
print(!$x&&++$y?"\n":($z?($z>$y%3+$y/3?" ":($x<-5?"/":"\\")):"|"));$y-
9?m(++$x):print(" _|_|_\n \\___/");}printf("%5s", "*");m(0);
/* Merry Christmas | Tobias Ratschiller | http://phpWizard.net */ ?>
php::bar PHP Wiki - Listenarchive