PDA

View Full Version : PHP/MySQL Formatting Style Text Box



dhtseany
July 10th, 2009, 02:49 PM
Hi guys,
Sorry if I'm not clear but I'm not even sure what I could google for this one. I want to make a text box for formatting just like what we use here on the forums.

And in case you're not getting me, I attached a pic of what I mean.

My language is PHP with MySQL behind it. I'd imagine it's probably java, but again I don't even know where to look.

Thanks,
Sean

smartbei
July 10th, 2009, 03:04 PM
Check out tinyMCE: http://tinymce.moxiecode.com/
There are also others. Search google for BBcode javascript editors or WYSIWYG (What You See Is What You Get) Javascript editors.

dgoosens
July 10th, 2009, 03:21 PM
I recommend fckeditor
http://www.fckeditor.net/

it works flawlessly with PHP and you can have it do more or less anything you want

Mirge
July 10th, 2009, 05:15 PM
Just a heads up with TinyMCE, last time I used it (admittedly quite a while now--because of this) it took a good while to load and use. Other editors were far quicker and so I used them instead. Hopefully TinyMCE has changed since then, because it was always the most feature-complete editor imo.

dhtseany
July 10th, 2009, 05:45 PM
I recommend fckeditor
http://www.fckeditor.net/


OK, this looks pretty close to what I want. However, it has a LOT more features for the end user than I'd like. Is there a way to "dumb it down" to the basics (ie. font styles, insert a picture, etc.)?

I've been reading through the documentation from their site but I'm not really understanding how to customize the toolbars.

Thanks for the help!

Sean