943,983 Members | Top Members by Rank

Ad:
Mar 26th, 2006
0

is BB Code html?

Expand Post »
please answer
Similar Threads
Reputation Points: 16
Solved Threads: 0
Light Poster
xgmx is offline Offline
36 posts
since Nov 2005
Mar 26th, 2006
0

Re: is BB Code html?

No, but it is a variation on it.
For example, [ b ]this text is bold![ / b ] is the same as <b>this text is bold</b> in html.

Note that I've put spaces in the bbcode so as it's not picked up.
Last edited by UberAAZ; Mar 26th, 2006 at 2:38 am. Reason: BBcode not displayed properly.
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
UberAAZ is offline Offline
73 posts
since Oct 2005
Mar 27th, 2006
0

Re: is BB Code html?

BBcode is interpreted and rendered into HTML by PHP.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Mar 31st, 2006
0

Re: is BB Code html?

bb code is not html, it you wrote it in PHP it might look something like this: [php]$message = preg_replace("#\[b\](.*?)\[/b\]#","<b>\\1</b>",$message);[/php] it's not pretty if you don't know much about regular expressions. Granted there are other ways of doing this, but this is a nice one-liner
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Apr 3rd, 2006
0

Defintion of BBhtml code

BBhtml code is a simple implementation of Html code, it quiclkly allows you to change the basic style of your text.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cleto_pimp2010 is offline Offline
1 posts
since Apr 2006
Apr 4th, 2006
0

Re: is BB Code html?

That is not correct. BBCode is NOT an "implementation of HTML". That would require that it have it's own DTD or schema, doctype, etc. It isn't particularly simple, either, as it relies on PHP Regular Expressions. While powerful, regex isn't simple!

BBCode is short for "Bulletin Board Code", and is a tool developed, in PHP, and adopted by most if not all forum software vendors.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Help with some email form features
Next Thread in HTML and CSS Forum Timeline: CSS Layout Coding ???





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC