O'Reilly logo

PHP for Absolute Beginners by Jason Lengstorf, Thomas Blom Hansen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required