Table of Contents
Introduction 1
Section A Basic Programming Instructions 17
Chapter 1 Variables, Expressions & Operators 29
Chapter 2 Control Structures 67
Chapter 3 Functions 103
Chapter 4 Objects & Classes 143
Section B Dynamic Web Pages 177
Chapter 5 Built-In Functions 201
Chapter 6 Getting Data From Browsers 231
Chapter 7 Images & Files 285
Chapter 8 Dates & Times 309
Chapter 9 Cookies & Sessions 329
Chapter 10 Error Handling 349
Section C Database Driven Websites 381
Chapter 11 Structured Query Language 397
Chapter 12 Get & Show Data From a Database 433
Chapter 13 Updating Data in a Database 483
Section D Extending the Sample Application 521
Chapter 14 Refactoring & Dependency Injection 533
Chapter 15 Namespaces & Libraries 557
Chapter 16 Membership 603
Chapter 17 Adding Functionality 633
Index 662
Code download: http://phpandmysql.com