Table of Contents

1. Dynamic Content and the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
HTTP and the Internet 1
PHP and MySQL’s Place in Web Development 2
The Components of a PHP Application 4
Integrating Many Sources of Information 7
Requesting Data from a Web Page 11
2. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Developing Locally 15
Working Remotely 35
3. Exploring PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
PHP and HTML Text 39
Coding Building Blocks 43
4. PHP Decision-Making . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Expressions 62
Operator Concepts 64
Conditionals 71
Looping 77
5. Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Calling Functions 87
Defining Functions 89
Object-Oriented Programming
6. Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Array Fundamentals 107 Continue reading →