Avatar of prabhat4ever
prabhat4everFlag for India asked on

Help

hi
i have a php file with HTML tags
which shows a form dynamically from the database but now i  want to convert that file into .mht extention to send this form to the client via mail.
so is tehre any php script which convert this form to mhtml.

thanks and regards
PHPMySQL Server

Avatar of undefined
Last Comment
Bruce Pieterse

8/22/2022 - Mon
Ryan Chong

>>so is there any php script which convert this form to mhtml.

What you saw in your browser is already the output generated from php. There is NO php anymore when you save your pages to .mht/mhtml.
Bruce Pieterse

do you want your client to enter the details on the form and submit it to your servers?
ASKER
prabhat4ever

no no.......
we have a filled form but we need to convert it into .mht format by this the client get its print out.......
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
Bruce Pieterse

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
prabhat4ever

okk
i tried a lot before this for pdf convert but didn't get any one good pdf converter all shows error........while converting into pdf.........
do u know any good pdf script in php.........

and thanks for all ur help brother
Bruce Pieterse

I haven't worked on creating a PDF from a PHP script, will get there one day though. What kind of errors were you getting and have you tried PDFCreator before?