I use PHP code to read and write data to MySQL database tables from a web page, Generate emails and read form data using the HTTP request POST method.
When you click on the Contact Me link on the menu bar this brings up a PHP page. That page contains a form you can fill out. The PHP code validates to form data and submits an email to me. It will also send you a Thank You email.
When developing the web page for the Georgia QSO Party I incorporated some PHP code into the web page. This page uses PHP to read what's entered in the form. It then emails the director of the contest. It also sends a confirmation email to the sender.
This Georgia QSO Party page uses PHP code to read a MySQL database and displays information from the query on the web page.