© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
M. SimonAn Introduction to PHP https://doi.org/10.1007/979-8-8688-0177-8_5

5. Working with a Database

Mark Simon1  
(1)
Ivanhoe VIC, VIC, Australia
 

Although PHP is a very capable programming language in its own right, much of what you’ll be doing involves interacting with a database. The database is used to store and later retrieve information which will eventually be part of the website.

The database is usually, though not necessarily, a separate process. On the Web, the most common database software is MySQL, or its spin-off, MariaDB, although there are many others available, such as PostgreSQL or, with additional software drivers, Microsoft SQL or Oracle. ...

Get An Introduction to PHP : Learn PHP 8 to Create Dynamic Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.