© Frank M. Kromann 2016

Frank M. Kromann, PHP and MySQL Recipes, 10.1007/978-1-4842-0605-8_16

16. Using MySQL Databases

Frank M. Kromann

(1)Trabuco Canyon, California, USA

Databases play an important role in web applications where content is constantly changing and being served according to users’ preferences, location, or other parameters. Databases are also used to collect information from the users in the form of comments to a blog, personal information when accounts are created, etc.

PHP provides support for many different types of databases in the form of a set of functions to connect, perform queries, and get information about tables and columns in the database. Some of the database extensions are procedural and some offer an object-oriented ...

Get PHP and MySQL Recipes: A Problem-Solution Approach, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.