5. adding records via Ajax
In the previous chapter, we created a way to add employees to the database. That process required one HTML form and one PHP script that handled the form. It all works fine but in the old-fashioned, client-server kind of way.
This example will also introduce two new techniques: sending an Ajax request using the POST method and