grOOvy
02-28-2005, 07:55 AM
Hello!
I have been modifying external.php and have managed to create a news script in PHP without using JS/XML/RSS. However, I need some tiny bit of help. The post.pagetext that is stored inside $threads is all in a single line. All the linebreaks are lost! Is there any way to read the data while retaining the new lines/line breaks?
Another small question I had was whether we have access to a function which converts bbcode to HTML? I know vbulletin has this mechanism somewhere since we see HTML code in threads and posts.
Thank you for your replies in advance.
I have been modifying external.php and have managed to create a news script in PHP without using JS/XML/RSS. However, I need some tiny bit of help. The post.pagetext that is stored inside $threads is all in a single line. All the linebreaks are lost! Is there any way to read the data while retaining the new lines/line breaks?
Another small question I had was whether we have access to a function which converts bbcode to HTML? I know vbulletin has this mechanism somewhere since we see HTML code in threads and posts.
Thank you for your replies in advance.