
The speaker explains that dynamic websites and intranet/extranet applications typically rely on databases to store and retrieve content displayed on pages, rather than hard‑coding data in HTML. While other storage formats such as plain text files, XML, or JSON can be used, relational databases remain the most popular due to their structured organization and the powerful SQL query language. In PHP, the two main extensions for database interaction are mysqli and PDO; the older original MySQL extension is now deprecated. The mysqli extension is dedicated to MySQL servers, whereas PDO is a more versatile, object‑oriented interface that supports multiple DBMSs and, because of its design, generally offers better performance and flexibility. The lesson sets the stage for later, more advanced PDO usage in an OOP‑focused series.










