SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Hybrid View
-
Oct 8, 2007, 10:26 #1
PHP/MYSQL Save data to MS Word .DOC
So, I have user data stored in a mysql db and want to be able to open up a word .doc and replace {stuff} in there with the data from the MYSQL db.
I used {STUFF} as an example of something that would be found in the word document and replaced with the real value.
Is there an existing class or script out there made to open MS Word documents for reading in php?
Thanks
-Todd
-
Oct 8, 2007, 11:19 #2
- Join Date
- Jan 2005
- Location
- Fayettville, North Carolina
- Posts
- 184
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I have made something like that before but I'm selling it. Contact me in private along with your offer(budget) and time frame you need it - if interested.
Your requirement here can also be done.
-
Oct 8, 2007, 11:38 #3
-
Oct 8, 2007, 12:20 #4
- Join Date
- Feb 2005
- Location
- was rainy Oregon now sunny Florida
- Posts
- 1,104
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Here is a discussion on that.
http://www.ozzu.com/ftopic65376-15.html
I would do something like
doc.php?doc=summary
then in doc.php, first line would be
PHP Code:header("Content-Type: application/vnd.ms-excel");
Bookmarks