How to Make PDF Invoices From Database in PHP | PHP FPDF Tutorial #example1



welcome to php fpdf tutorial example videos.
in this example, i will use invoice from first chapter then combine it with database to make a dynamic invoices.
i have prepared some data beforehand using mock data generator.
there are a lot of websites which provides mock data generation for free. Just google “random data generator”.
here is the database design i use in this example.
i have a master table for clients, with clientID as the key.
another table for invoice which contain clientID as…

, , , , , , ,

28 thoughts on “How to Make PDF Invoices From Database in PHP | PHP FPDF Tutorial #example1

  1. Please help me. I keep on getting this error message "Notice: Undefined index: invoiceID in C:xampphtdocsinvoiceinvoice.php on line 12
    FPDF error: Some data has already been output, can't send PDF file. What should i do?

Leave a Reply

Your email address will not be published. Required fields are marked *