Jump to content

Word --> MySQL conversion


grejon04

Recommended Posts

 

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

Link to comment
https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-390496
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-390728
Share on other sites

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.

 

 

Link to comment
https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-390935
Share on other sites

 

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?

Link to comment
https://forums.phpfreaks.com/topic/76999-word-mysql-conversion/#findComment-391616
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.