how to make button export form to pdf or word

i don't know certain logic and any experience
AHMED SAMYownerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Using headless Libreoffice provides an incredibly easy way to transform documents.

Just install Libreoffice (on any Linux Distro) + use libreoffice --headless with with correct conversion command described in the docs.

You can convert between any two formats Libreoffice understands, which includes .doc + .docx + .pdf + many more.
0
AHMED SAMYownerAuthor Commented:
Untitled11.png
this is my target on php page for details
0
Eddie ShipmanAll-around developerCommented:
What exactly are you trying to export?
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

AHMED SAMYownerAuthor Commented:
records from database echo on page and need to save it as website http://www.northguru.com/ make in packages
0
kenfcampCommented:
If I understand you correctly, you want to create documents from a database query

You're going to need a programmer

E-Mail and PDF shouldn't be a problem (if you use someone who has done it before)

I can't say for certain as I've never tried to create one personally, but the Word document might be a problem

Ken
0
Eddie ShipmanAll-around developerCommented:
What is your backend programming language? Looks like ASP.Net MVC, correct?
0
AHMED SAMYownerAuthor Commented:
php
0
Eddie ShipmanAll-around developerCommented:
OK, so, if you are running PHP, there is a library built in that will allow you to create PDFs.

However, I prefer to use an open-source library called TCPDF. It is very simple to use and includes tons of examples, including how to create a report similar to what you are asking. https://tcpdf.org/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.