How to use <br> tag in the bbcode
or how to add the line breaker in the bbcode?
i have tried to add the [br] as the <br> tag in bb code but it didnt work
How to use <br> tag in the bbcode
or how to add the line breaker in the bbcode?
i have tried to add the [br] as the <br> tag in bb code but it didnt work
Regards:
Agroup :cool:
http://FileTube.info - Online File Storage & CMS Scripts
Islamic-World - All About Islam
There is no br... you press enter.. like you managed to do in your post and in your signature..
zapzack: did you type that with a straight face?
agroup: didn't you notice the new lines you were putting in the message?
The physics is theoretical but the fun is real.
...unless you're making your own bbcode parser and want to convert the input to HTML.
In which case you'll need to replace the line feed+carriage return characters with <br>. For example: in PHP these would be the sequences "\n" and "\r". That isn't a particularly good example though. Because if you are using PHP, use the built in nl2br() function.
If anyone can see it, my post was meant for anyone who reads it. Don't take it personally or think I'm being condescending... :nuts:
Scoohi2 caught my point of view
i was asking it for my glitter bbcode script.though i can use space in the code but it will not look bettr when we place it on the forum.
Therefor i was asking for line breaker
@ zapzack & sharky
i am not asking to add the new line in the post or sig.
i was asking for the line breaker bbcode which can be use in the any script which generate the bb codes
i have tried html to bbcode changer but it always generate a new line for the <br> code don't give any bbcode for this tag
Regards:
Agroup :cool:
http://FileTube.info - Online File Storage & CMS Scripts
Islamic-World - All About Islam
All bbcode converters use paragraphs (<p> </p>), or if you modify the php code simply add a <br /> character when a certain set of characters are encountered, for instance, two spaces at the end of a line.
Last edited by xav0989; 08-10-2009 at 03:25 PM.
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
you can use this little trick:
[ list ] [ /list ]
Last edited by bm.the.guru; 11-06-2010 at 04:52 PM.
I use ==> \r\n <==
Here is a link to the BB codes for this forum:
http://x10hosting.com/forums/misc.php?do=bbcode