Jump to content

Archived

This topic is now archived and is closed to further replies.

Rosst

New bbcode is annoying me

Recommended Posts

http://vexxon.net/index.php?id=vthread&t=5 (It was a test for the bbcode)
Check that out, you see that you get a error: Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/avexxon/public_html/includes/ubb.php on line 137, and line 137 is: function parse_php($tree)  {return '<div class="wrap"><div class="title">PHP Code</div><div class="content">'.nl2br(highlight_string(unhtmlentities(''.$tree->toText().'')), true).'</div></div>';}
Don't say anything about unhtmlentities() it's a functions I made.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.