When using the highlight_string() to highlight php within a post in forums while it is really nice has anyone figured a way to undo it? The reason I am asking is because using it with either IPB or phpbb forums when you try to edit the post you get all the html code, I don't know what happens here but I suspect that it does the same. The below is just test code to try my theory
function reset()
{
$this->addresses = array();
$this->vars = $this->msg = $this->extra_headers = '';
}
OK now I have a post with PHP syntax highlighting but what will happen if I try to edit the code I just entered into that block of code? On this site with vb it comes back as it was rendered, so how can vb accomplish this when phpBB and IPB using the highlight_string() also do not return the origional code?