Text formatting in user input
Posted: Sat Oct 24, 2009 1:20 pm
Hi everyone,
I want to take user input from a database and print it on the appropriate pages... I'd like to parse it so as to allow my users to mark it up, just like you can do in this forum, e.g. with [ url="whatever.com" ]link[ /url ] (minus the spaces).
Of course that'll be a lot of work to code from scratch... is there a standard function already written somewhere to do exactly this?
Thanks
I want to take user input from a database and print it on the appropriate pages... I'd like to parse it so as to allow my users to mark it up, just like you can do in this forum, e.g. with [ url="whatever.com" ]link[ /url ] (minus the spaces).
Of course that'll be a lot of work to code from scratch... is there a standard function already written somewhere to do exactly this?
Thanks