Goals

Building a functional contact system using HTML forms, PHP and XAMPP, focusing on getting the database to work an register everything

Description

In this lab, I created a contact form and integrated it into my existing portfolio using HTML, PHP and MySQL. The goal was to store submitted messages in a database and make them accessible through a private page (mostly messages). First, I set up the database and tested the provided PHP scripts by adjusting the connection settings. Then I built the contact form and linked it correctly to the PHP code so the data could be processed and saved. After submitting the form, a thank you page is shown to the user. Finally, I styled the form and messages page so they fit the design of my portfolio and once more at my other website (the lab itself). This lab helped me better understand how forms, PHP and databases work together.

Labo 05 result

Reflection

Now i know how to make databases and understand databases. I also now how to connect the database to a website and know how to show the user a thankyou message.