Mailinglisten-Archive |
Hi Martin,
das ist mal genial! Danke für die Funktion!
[...]
>
> #0#Text#/0#, #1#Text#/1# und #2#Text#/2# wird mittels
>
> $text = preg_replace(
> '/[#]([0-3])[#]/',
> '<font color="$font_color" size="+\\1"><b>',
> $text);
>
> $text = preg_replace('/[#][\/][0-3][#]/', '</b></font>', $text);
>
> zu <font color="#004000" size="+0"><b>Text</b></font>,....
>
> Gruß,
> Martin
>
> --
> ** Durchgehend geöffnet: http://www.php-center.de **
> Die PHP-Liste: mailto:php_(at)_php-center.de
> http://infosoc.uni-koeln.de/mailman/listinfo/php
--
Tim Schröer
php::bar PHP Wiki - Listenarchive