Supermercado
Diamond Member
Okay, I've got a fairly sizeable MySQL database for a project a friend and I are working on. Once everything is into our database, I want to write a script that will allow us to generate an MS Word document of all of the things in our database. There's 7 different tables in the database, all storing different, but similar data. I want to basically go through each table, get all the information and then come up with an alphabetically sorted list (with the name in bold or something and the rest of the text from each entry following) of everything. That much I know I can do. My question, I guess, is this: is there any function that I don't know about that can help me do this? Something with string formatting (bold text and indentation in the Word document, for example). I haven't actually tried it but I imagine that I could just do standard file writing and have the name of the file be *.doc and it would be considered a Word document. But that's only half of what I ultimately want.
I guess the cliffs notes are: is this any function that can help me create an MS Word document from a MySQL database, with the ability to do full text formatting in the Word document?
Thanks.
I guess the cliffs notes are: is this any function that can help me create an MS Word document from a MySQL database, with the ability to do full text formatting in the Word document?
Thanks.