PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
do the nl2br first. in the highlighter, before passing it through the highlighting function itself, pre process out the nl2br'd content.. process the highlighting as usual.
I tried that before, but without success, after I tried it again, it seems to work!
must be something i forgot before.
Thanks feyd, you really helped me there
also, if anyone's intrested in the highlighter, i'll post the code