Web software for add deleting updating data
This ensures that the rest of the code in our controller (which in most cases will depend on a successful database connection) will not be executed if the connection has failed.Assuming the connection succeeds, however, you need to configure it before use.Let's say you want to work with the joke database you created in Chapter 2: Introducing My SQL. If your My SQL server is up and running and everything works the way it should, you should see the message indicating success in the figure below.
By default, when PHP connects to My SQL, it once again uses the simpler ISO-8859-1 encoding instead of UTF-8.
Now you’re ready to learn how to use these new tools together to create a true database driven web site!
If you’d rather read this tutorial offline, you can download the chapters in PDF format.
In this chapter, you’ll learn how to take information stored in a My SQL database and display it on a web page for all to see.
So far, you’ve installed and learned the basics of My SQL, a relational database engine, and PHP, a server-side scripting language.