2. Variables
In This Chapter
The previous chapter covered how to use PHP to send simple text and HTML to a web browser—in other words, something for which you don’t need PHP at all! Don’t worry, though; this book will teach you how to use print in conjunction with other PHP features to do great and useful things with your website.
To make the leap from creating simple, static pages to dynamic web applications and interactive websites, you need variables. Understanding what variables are, the types of variables that a language supports, and how to use them is critical.
This chapter introduces the fundamentals of variables in ...
Get PHP for the Web: Visual QuickStart Guide, Fifth Edition 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.