how to save an php search result page in an php?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vailayavenkatesh@gmail.com

    how to save an php search result page in an php?

    can any one tell me how to create an pdf file from the html page ?
    1. I am querying the database.
    2. The result is obtained in the file result.php
    3. I want to give the user an option to save the result into
    pdf using an button.
    anyone please tell how to do it in php.
    regards,
    venkatesh

  • rokie

    #2
    Re: how to save an php search result page in an php?

    Try using FPDF (www.fpdf.org). Its a PHP class that allows you to
    create a PDF file. To use it as you want when you click a button on the
    page the form would submit to a page which ran a script to:

    a) get the content from the web page, then
    b) render the PDF file using this content

    I use this myself to generate PDF files on the fly.

    Good luck

    Comment

    Working...