CHAPTER 2

image

Understanding PHP: Language Basics

So far, you’ve bypassed the old, cumbersome method of creating a development environment, and you’re now ready to start writing code.

But where do you start? In this chapter, I’ll cover the steps you need to follow to start using PHP in the creation of powerful, dynamic web applications. You’ll also begin to develop the basic skills you need to create your blog. In addition, you’ll learn how to accomplish several tasks, including how to do the following:

  • Embed PHP in web pages
  • Send data as output to the browser
  • Add comments in your code
  • Use variables
  • Work with PHP errors
  • Create an HTML5 template

Get PHP for Absolute Beginners 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.