

It’s important to understand how these will fit together. We have two powerful tools at our disposal: the PHP scripting language and the MySQL database engine. There are numerous references in this chapter - and in the PHP code you’ll write - to “MySQL”, even though we’re actually connecting to a MariaDB database.īefore we leap forward, it’s worth taking a step back for a clear picture of our ultimate goal. Note: as in Chapter 3, I’m using “MySQL” here to refer to the database protocol. Now you’re ready to learn how to use these tools together to create a website where users can view data from the database and even add their own.

So far, you’ve written your first PHP code and learned the basics of MySQL, a relational database engine, and PHP, a server-side scripting language. This is it - the stuff you signed up for! In this chapter, you’ll learn how to take information stored in a MySQL database and display it on a web page for all to see. Displaying Data from MySQL on the Web: an Introduction.Setting Up Your PHP Development Environment with Docker.In this final tutorial in the series, you’ll learn how to take information stored in a MySQL database and display it on a web page for all to see. The following article is an excerpt from PHP & MySQL: Novice to Ninja, 7th Edition, a hands-on guide to learning all the tools, principles, and techniques needed to build a professional web application.
