Skip to Main Content
PHP for Absolute Beginners
book

PHP for Absolute Beginners

by Thomas Blom Hansen, Jason Lengstorf
August 2014
Beginner content levelBeginner
256 pages
6h 48m
English
Apress
Content preview from PHP for Absolute Beginners

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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP and MySQL® Web Development, Fourth Edition

PHP and MySQL® Web Development, Fourth Edition

Luke Welling, Laura Thomson

Publisher Resources

ISBN: 9781430268147Purchase book