PHP Data Types and Functions




CS174

Chris Pollett

Sep 16, 2013

Outline

Configuring PHP

General Syntax

Primitives

Integer, String, and Boolean Type

Arithmetic Operators,etc

Quiz

Which of the following statements is true?

  1. In CSS external style settings cannot be overridden by inline styles.
  2. Margin, border, and padding are all components of the box model.
  3. id selectors are used only to style the id attributes of anchor tags.

Output

Control Statements

Arrays

More on PHP Arrays

Yet More on PHP Arrays

Iterating Through Arrays

Functions