Hey,
I'm writing a kind of "posting" code in PHP which allows lots of people on a network to store text for others to view on the same network. I've disabled alot a few symbols such as " or ' or < or even > to prevent breaking up the HTML or the code etc. Instead I've replaced some basic commands with []'s... Like bold => . This has been done on many forums. Unlike the forums my code lacks a friendlier userinterface for these commands. on www.forumplanet.com for example this has been simplified with JavaScript allowing someone to push a button and the two tags appear in the edit field, or even select a text in the edit fields, push the button, and the two tags appear around the text. Very useful. Unfortunately my knowledge in JavaScript is less than poor and I was wondering if anyone had a good idea of how to do this with PHP if it's even possible. I fear not since PHP is bascially serverside only precompile as far as I know and I want to avoid refreshing the page. Otherwise, does anyone know a handy tutorial or an easy way to do this with JavaScript?
Much obliged 😃
Gazoo...