Overview
You now know what we are going to try to achieve in this chapter. We will assume that you have some basic understanding of PHP, and even if you have never worked with PHP before, that is fine. We are pretty sure that you will very easily be able to follow along with us to add the PHP functionality in our code. By the end of this chapter, if you feel you have gained some interest in PHP, we encourage you to take a look at one of the several titles published by Packt Publishing on this topic. In this chapter, we will cover the following points:
Creating a MySQL database using MySQL in XAMPP setup
Creating a table and adding some data to it
Connecting to a MySQL database from PHP
Fetching data from a table and displaying this data
Forms and client-side validations
Inserting data into a database table
Once again, make sure you have the latest and the most accurate code from the previous chapter as we will continue editing our Civic Center application. Wear your developer hats once again and...