I use FPDF to create PDF files. Problem is how can I code so when customer logs in and asks for PDF report, 1) new PDF file is created based on his parameters, 2) emailed to him.

THANKS A LOT!