grejon04 Posted November 12, 2007 Share Posted November 12, 2007 I got a few scathing complaints over the weekend that reviewers who post their reviews on my online journal database via cutting and pasting MS Word (which kind of goes along with the other unanswered post I have up right now) blurbs into my forms don't see their bolded and italicized text transferred, along with things like exponents becoming whole numbers, etc. Is there a way, short of uploading doc files, to transfer that kind of stuff from the php forms to the MySQL database and preserve it? Thanks again j Quote Link to comment https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/ Share on other sites More sharing options...
Lumio Posted November 13, 2007 Share Posted November 13, 2007 That has nothing to do with MySQL. To convert a .doc into another format you need to know how a .doc is built up. But nobody really cares about the construction except Microsoft itself. Force your users to write it in another format as .rtf or something like that. Quote Link to comment https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-390496 Share on other sites More sharing options...
grejon04 Posted November 13, 2007 Author Share Posted November 13, 2007 I don't want to make it into a doc file. I just want to preserve things like exponents, and simple formatting such as bold and italics. It does have to do with MySQL tables, in that I want the table format to preserve this stuff. Also, the contributors are from all over the world, and I have no control over their submission style - they are academics, profs and such, and ignore instructions such as those. Quote Link to comment https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-390728 Share on other sites More sharing options...
Lumio Posted November 13, 2007 Share Posted November 13, 2007 When you copy a bold text direct from word into a textbox of a webpage, the bold text and all the other formatations get lost. Quote Link to comment https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-390927 Share on other sites More sharing options...
tippy_102 Posted November 13, 2007 Share Posted November 13, 2007 The formatting is most likely lost when they paste the data - before it gets anywhere near the database. Tell your reviewers that MS Word is no longer the king of the hill - that's the way we did things last decade. Set up a full featured editor (something like http://www.fckeditor.net/ ) and get them to type online...all the cool kids are doing it this way now. Quote Link to comment https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-390935 Share on other sites More sharing options...
grejon04 Posted November 14, 2007 Author Share Posted November 14, 2007 Yeah, I've used fckeditor before and like it, and would agree that whoever uses fckeditor is cool, and I would also like to sit at their table during lunch. But, I don't want to create files...just use db text boxes. Can fck send output directly to MySQL db entry? Quote Link to comment https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-391616 Share on other sites More sharing options...
tippy_102 Posted November 14, 2007 Share Posted November 14, 2007 Can fck send output directly to MySQL db entry? Yes...that's the whole idea... Quote Link to comment https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-391663 Share on other sites More sharing options...
grejon04 Posted November 14, 2007 Author Share Posted November 14, 2007 Sorry - didn't have a chance to do my homework on that one...I used it with template files (for things like outgoing letters). I'll look into it more. j Quote Link to comment https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-391707 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.