excelsior9
Programmer
Ok, I'm about to go insane with this one.
I'm developing a website where users can upload poetry and creative writing. I want to have a form where they can type in their poem and the line breaks and paragraph breaks are recognised by a wysiwyg editor. I've basically got this far on my own - but there's a massive problem which I can't find an answer to anywhere!
Basically, the editor uses an iframe where users type text and format it - but how do you get the resulting text with tags to be delivere when you click 'submit'?? It works fine with a textarea, but the iframe seems to be invisible to the PHP. I just want it to take whatever the user typed in, with the appropriate tags, and put it in a database.
Please help, I'm really stumped. Am much more accustomed to PHP and MySQL than Javascript.
I'm developing a website where users can upload poetry and creative writing. I want to have a form where they can type in their poem and the line breaks and paragraph breaks are recognised by a wysiwyg editor. I've basically got this far on my own - but there's a massive problem which I can't find an answer to anywhere!
Basically, the editor uses an iframe where users type text and format it - but how do you get the resulting text with tags to be delivere when you click 'submit'?? It works fine with a textarea, but the iframe seems to be invisible to the PHP. I just want it to take whatever the user typed in, with the appropriate tags, and put it in a database.
Please help, I'm really stumped. Am much more accustomed to PHP and MySQL than Javascript.