Learning PHP
A Gentle Introduction to the Web's Most Popular Language
Publisher: O'Reilly Media
Final Release Date: April 2016
Pages: 416

If you want to get started with PHP, this book is essential. Author David Sklar (PHP Cookbook) guides you through aspects of the language you need to build dynamic server-side websites. By exploring features of PHP 5.x and the exciting enhancements in the latest release, PHP 7, you’ll learn how to work with web servers, browsers, databases, and web services. End-of-chapter exercises help you make the lessons stick.

Whether you’re a hobbyist looking to build dynamic websites, a frontend developer ready to add server-side programs, or an experienced programmer who wants to get up to speed with this language, this gentle introduction also covers aspects of modern PHP, such as internationalization, using PHP from the command line, and package management.

  • Learn how PHP interacts with browsers and servers
  • Understand data types, variables, logic, looping, and other language basics
  • Explore how to use arrays, functions, and objects
  • Build and validate web forms
  • Work with databases and session management
  • Access APIs to interact with web services and other websites
  • Jumpstart your project with popular PHP web application frameworks
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyLearning PHP

(based on 4 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars




of respondents would recommend this to a friend.

Reviewed by 4 customers

Displaying reviews 1-4

Back to top


mixed feelings

By nis

from Austin, TX

Comments about oreilly Learning PHP:

I liked the structure and the examples. However, would have liked to get the examples code, instead of having to continuously type to try out the code.
The link to github to download the example code was useless to me. I can't tell which chapter each of the list is for, would be nice if it was labelled by chapter and example number.
This was very disappointing for me.
The material is pretty good for what I needed, but without the code for example and exercises, it was frustrating.

(1 of 2 customers found this review helpful)


Code files for this book are terrible

By Mike

from Pennsylvania

About Me Designer

Verified Reviewer


  • Book Well-written


  • Code Examples Useless

Best Uses

  • No One

Comments about oreilly Learning PHP:

The book itself seem pretty decent, but the code files on GitHub are utterly confusing and have no correspondence that I can see to the book.

There should be a zip folder for download with subfolders corresponding to each of the book's chapters. As it is, the code downloads are so confusing that they are completely useless.

(0 of 8 customers found this review helpful)


Not really the book I was looking for

By pbi

from Poland

Verified Buyer


  • Easy to understand


  • Too basic

Best Uses

  • Novice

Comments about oreilly Learning PHP:

The book covers basics, literally.
If you have prior knowledge about programming - few evenings and you are good to go ... to look for something more advanced.

I have mixed feelings about this one.

(2 of 4 customers found this review helpful)


"This is new so i dont know yet"

By Lorence

from San Jose

Comments about oreilly Learning PHP:

chapter 7 Remembering information: Databases
In Putting Data into the Database part, in Example 8-6, isnt the
$db->query("INSERT INTO dishes (dish_name, price, is_spicy) VALUES ('Sesame Seed Puff', 2.50, 0)"); should be
$db->exec("INSERT INTO dishes (dish_name, price, is_spicy) VALUES ('Sesame Seed Puff', 2.50, 0)");??
because the part are talking about PDO::exec()?
ignore me if im wrong thanks :)

Displaying reviews 1-4

Back to top

Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook:  $35.99
Formats:  DAISY, ePub, Mobi, PDF
Print & Ebook:  $46.19
Print:  $41.99