Michael Ed wrote:
> 
> The blixtformat function works great,
> but I lost the :F functionality, like the possibility of new lines ...
> 
> I took a chance on \n as being CR/LF in php, but no ...
> Should I convert forth or back first ???
> 
> function blixtformat($this_string) {
>         $blixtcontent = ereg_replace("\n","<br><br>",$this_string);
>         $blixtcontent = ereg_replace("{b}","<b>",$this_string);
>         $blixtcontent = ereg_replace("{/b}","</b>",$blixtcontent);
>         $blixtcontent = ereg_replace("{p}","<p>",$blixtcontent);
>         $blixtcontent = ereg_replace("{/p}","</p>",$blixtcontent);
>         $blixtcontent = ereg_replace("{br}","<br>",$blixtcontent);
>         return $blixtcontent;
> }
You may try the following code:
<?
$text = blixtformat($string);
?>&(text:F);<?
SOME_CODE_HERE
?>
-- 
Sincerely yours, 
Alexander Bokovoy 
<!-- 2:450/144.58 --- bokovoyATminsk.lug.net --- FractalsAtTheEdge -->

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to