Chapter 1. PHP Crash Course

This chapter gives you a quick overview of PHP syntax and language constructs. If you are already a PHP programmer, it might fill some gaps in your knowledge. If you have a background using C, Active Server Pages (ASP), or another programming language, it will help you get up to speed quickly.

In this book, you'll learn how to use PHP by working through lots of real-world examples taken from our experiences in building e-commerce sites. Often, programming textbooks teach basic syntax with very simple examples. We have chosen not to do that. We recognize that often what you want to do is get something up and running, to understand how the language is used, instead of plowing through yet another syntax and function reference ...

Get PHP and MySQL Web Development, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.