Export from tinymce to pdf/docx

7.5k views Asked by At

I use the tinyMCE editor, I save its data with mysql, in html from what I can see.

How can I export this data of my users to pdf and docx with php (serverside) ?

I believe the free edition of phpDocx lacks that functionality (embedHTML function missing)

Is there an alternative ?

1

There are 1 answers

1
Thariama On BEST ANSWER

You should write your html code to a html file serverside and use a library like this one to create a pdf file.