https://www.icyphoenix.com/viewtopic.php?f=28&t=4740&p=32470#p32470 ----------------------------------- glenflet Mon 29 Sep, 2008 03:07 Re: PHP Based Code To HTML With BBcode ----------------------------------- Sorry that was a small error on my part I losted the escape charaters when I copyied the code into the post. change [code linenumbers=false]$html = ereg_replace("
n", " n
  • ",$html);[/code] to [code linenumbers=false]$html = ereg_replace("
    n", " 
    • n
  • ",$html);[/code] also change your next line to the following it will be incorret as well [code linenumbers=false]$html = "
  • " . $html;[/code]