Mam to w petli while:
<?php
$tresc = bbcodetohtml($post['tresc']);
$post = wordwrap($tresc, 50, "<br>",true); ?>
Funkcja bbcodetohtml(); zamienia bbcode na html
a i $post['tresc'] to nie $_POST['tresc']
Dobra teraz załamuje ale wtrąca się w kod html: np mam <td class="linenumber"
(TU BRAKUJE >)<br />