Chapter 35. MySQL and PHP

35.1 Introduction

This chapter contains examples of programs written in the programming language PHP, one of the most popular host languages used with MySQL; see, for example, [ATKI04].

Initially, the abbreviation PHP stood for Personal Home Page. Some prefer to use the recursive explanation: PHP Hypertext Preprocessor. Whatever it stands for, essentially PHP is a server-side scripting language to create web pages based upon HTML.

Rasmus Lerdorf wrote the first version of PHP in fall 1994. Since then, the features have been extended considerably, and thousands of web sites have already been created with this popular language.

A PHP programmer can choose from different call level interfaces (CLIs) to access a database ...

Get SQL for MySQL Developers: A Comprehensive Tutorial and Reference 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.