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 O’Reilly online learning.

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