O'Reilly logo

Internet & World Wide Web: How to Program, Fifth Edition by Abbey Deitel, Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

19. PHP

Be careful when reading health books; you may die of a misprint.

—Mark Twain

Reckoners without their host must reckon twice.

—John Heywood

There was a door to which I found no key; There was the veil through which I might not see.

—Omar Khayyam

Objectives

In this chapter you will:

• Manipulate data of various types.

• Use operators, arrays and control statements.

• Use regular expressions to search for text that matches a patterns.

• Construct programs that process form data.

• Store data on the client using cookies.

• Create programs that interact with MySQL databases.

Outline

19.1 Introduction

19.2 Simple PHP Program

19.3 Converting Between Data Types

19.4 Arithmetic Operators

19.5 Initializing and Manipulating Arrays

19.6 String Comparisons ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required