Here are some concepts you must learn How create HTML form How to process submitted data using PHP How to access database such as MySQL and then save those data in database. How to retrieve data back from database How to generate PDF try using library such as TCPDF or mPDF Happy coding.