Part II

Exercising the Server with PHP

In Part I of this book, you saw how JavaScript activated dynamic web elements with scripts running in the client browser. In Part II, you’ll see how PHP, running in the server, provides another level of automation, including dynamically handling information and determining what a user views next.

Chapter 5 introduces PHP, what it is, how it is used, how it is installed, the use of its many online resources, and what tools you should have running to work with PHP. The chapter discusses the parts of PHP, how it is tied into and used with HTML code, and the rules that need to be followed for good PHP code. Chapter 5 also discusses the structure of PHP, including strings, numbers, comments, constants, variables, ...

Get PHP and MySQL Web Development: A Beginner’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.