Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17

Thread: FPDF module

  1. #16
    Regular Coder
    Join Date
    Aug 2006
    Location
    Richmond, CA
    Posts
    204
    Thanks
    3
    Thanked 11 Times in 10 Posts
    Quote Originally Posted by schalk1807 View Post
    Thank you Daniel and felgall,

    If I understand you correctly: I simply cannot call the FPDF function from a page which has already outputted HTML, and the list.php page immediately outputs HTML when it opens.

    Now my dilemma is: how can I let the user print a report of the list? I need the "Print Report" button to appear on the list.php page.
    Why are you insisting on using the same file for two different things? The simplest thing is to create a new file that generates the PDF (and does nothing else) and have the form direct to that file. You are just making it more complicated than it needs to be.

  2. Users who have thanked Daniel Israel for this post:

    schalk1807 (10-16-2013)

  3. #17
    New Coder
    Join Date
    May 2012
    Posts
    20
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Thank you to all of you for your assistance.

    I will try all your solutions and see what I can do.


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •