PHP Programming Basics Practice Test: Objects and Databases in PHP — Flashcards | PHP & Programming | FatSkills

PHP Programming Basics Practice Test: Objects and Databases in PHP — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

In PHP, objects are flexible and can be lists, trees, widgets, or anything else, and can represent data, structure, or presentation. Databases are powerful and important, but are only suitable for a small subset of the tasks that a web application performs. Objects can make these tasks easier. 

PHP Data Objects (PDO) is a database access layer that provides a consistent and fast interface for accessing and managing databases in PHP applications. PDO is a popular option for connecting to and communicating with MariaDB databases in PHP. PDO supports a wide variety of database drivers

When using PDO in PHP applications, specific PDO drivers must be installed for each DBMS.

 

Related Test: PHP Programming Basics Practice Test: Object-Oriented PHP

1 of 45 Ready
Which one of the following is not a valid class name?
1shopproduct
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password