Getting <code> to work in CI |
[eluser]the_unforgiven[/eluser]
Hi guys how can i get some code to show like on this forum: Code: like this i have used <pre> and also <code> to show some php and html in some site docs im doing on a php page but it show nothing.
[eluser]Jason Stanley[/eluser]
The box is obviously css styled isn't it. As for getting it to show this is a good place to start: http://php.net/manual/en/function.htmlentities.php
[eluser]the_unforgiven[/eluser]
Yes its styled, but just doesn't show anything not even plain english
[eluser]John_Betong_002[/eluser]
@the_unforgiven Try Googling for BBCODE: Code: no formattig
[eluser]the_unforgiven[/eluser]
thanks ill try that. Is there nothing in CI thou?
[eluser]PhilTem[/eluser]
Nope, CI only provides you tools/libraries to develop such things like a BBcode parser easier. CI isn't a framework like Zend, it's kept pretty basic and only provides some things like session, database, caching, MVC-structure. Anything additional needs to be written by yourself - or by someone else ![]()
[eluser]the_unforgiven[/eluser]
Right so i just need to write a libaray for it then i guess, thanks all for your contributon
[eluser]CroNiX[/eluser]
Go to the CI wiki and type "bbcode". Go to google and type "codeigniter bbcode". Lots of stuff already out there...
[eluser]the_unforgiven[/eluser]
Hi Chronix Yes i got one what Phil Sturgeon has done but not sure how I get it function |
Welcome Guest, Not a member yet? Register Sign In |