PHP Punch in the Face
4.3 (120 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
10,622 students enrolled
Wishlisted Wishlist

Please confirm that you want to add PHP Punch in the Face to your Wishlist.

Add to Wishlist

PHP Punch in the Face

Get punched in the face with PHP. Cover the basics, create a re-usable database class, and build your first application!
4.3 (120 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
10,622 students enrolled
Created by Jesse Boyer
Last updated 7/2014
Current price: $10 Original price: $200 Discount: 95% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 6 hours on-demand video
  • 2 Articles
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • PHP Syntax
  • PHP Functions
  • Class Creation
  • Basic MySQL Commands
  • Building a PHP Application
View Curriculum
  • PHP Installed on Hard Drive
  • Some HTML

So you don't know PHP but want to? This Learn PHP Online course takes you from a complete newbie to an intermediate programmer. I'll walk you through the language basics and teach you to the most obvious thing you'll want to do: Build a Database Driven Project. This Learn PHP Online course should take no more than 2 weeks to finish.

You should take this PHP For Absolute Beginners course because one language can open the door to opportunity, hobbies, and new languages. Studying programming was one of the best choices I made in life.

Take this ultimate PHP For Absolute Beginners course right now and learn PHP online.

Who is the target audience?
  • beginner
  • intermediate
Students Who Viewed This Course Also Viewed
Curriculum For This Course
57 Lectures
Getting Started
5 Lectures 20:21
Developing in PHP should be done locally (on your hard drive), here are a few packages that will get you started.
Preview 02:04

This is a run down on what WAMP Server does and how a few things are configured, let's enable a few addons!
Preview 09:18

Command line interface allows you to run PHP or MySQL from command line. This is totally optional, but it's here incase you wanted to know how to set it up under Windows.
Preview 02:34

I strongly encourage you to use Chrome and the Developer tools, they will help you a great deal in your development.
Chrome Developer Tools (Optional)

We use Netbeans IDE to setup our PHP workspace to organize our files and have a rich programming experience.
Setup Your IDE and Workspace
Syntax Warmup!
12 Lectures 01:03:51
You'll learn what variables are and how to use them. This is used in every programming language.
Preview 04:51

There are different types of variables, such as numbers, strings and arrays. I'll show you the difference!

Make sure you understood the easiest stuff!

Baby Steps
4 questions

Operators will let you manipulate your "types" you just learned about above.

Learn how to write conditional programming with the IF, ELSE and ELSEIF statements. 
If Statement

Do you know your IF Statements?
4 questions

The switch statement is similar to the IF statements, but I'll teach you the difference.
Switch Statement

Arrays are possibly one of the most important things to understand. You will use them everywhere all the time, and I'll show you some general array building and manipulation to get you started!
You must Master Arrays!

Loops write code for you. I'll show you how to loop data so you save a lot of time.
Loops - The Secret Behind it All!

Arrays and Loops
8 questions

This is a practice sheet with some example code on looping through an Array and a Multi-Dimensional Array.

Array Playground Notes
2 pages

Accept URL strings and special parameters in this Super global variable.
$_GET Parameters

Accept form data in this Super global variable.
$_POST Parameters

This is an overview of how uploading files in PHP works.
$_FILES Parameters

Simply an exercise to demonstrate how easy it is to post form data.
Practice Create a Page and POST a Form

4 questions
Behold, Functions!
4 Lectures 18:20
Functions will allow you to repeat your code after defining what it does one time.
Preview 03:42

Add more variety to your function definition and give it more flexibility to do what you want.
Function Arguments

Gathering data after you've used a function is going to be needed, here's how to do it!
Function Return

Scope has to do with where you are. When using functions, you enter a new scope, I'll show you what it really means.
Scope - Always know where you are Matey!
Built In Functions
3 Lectures 17:13
Messing with strings is easy with so many PHP functions, you'll be using these all the time.
String Functions

Learn how to apply functions to your arrays and get different results.
Array Functions

A simple demonstration on building a site while saving your code from being retyped with includes.
Building a Site with Includes
MySQL Database!
6 Lectures 39:32
This video gives you a few examples of software to use to manage your MySQL databases. You can use PHPMyAdmin, but I prefer to use software.
Intro & Software to Use

Learn how to layout a database and table.
Preview 07:08

learn what a relationship with tables do and how to take advantage of it.

Learn how to select specific data from your MySQL database.
SELECTing Data

Learn how to manipulate all your MySQL data with: INSERT, UPDATE, and DELETE.

Learn how to join two tables together. This is a step above beginner for the MySQL portion, but you will want to know it!


Lets see if you can remember!
MySQL Basics Quiz
8 questions
PHP to MySQL Database
2 Lectures 20:49
Learn how to use the PDO wrapper to access your database.

Keeping your data secure is important, I'll show you why you must use prepared statements.
Prepared Statements

Do you know why you are using PDO?

PDO Quiz
4 questions
Objects Overview and Building a Validation Class
7 Lectures 32:10
Get the quick jist on what an object is!
Preview 02:29

Learn to create an object and make calls with it.
Preview 04:39

You will learn how to inherit another object. This is just a sampler to give you the general idea, you will understand more later on.
Object Inheritence

Learn how you can give and take away permissions from other classes. What do the three Public Private and Protected mean? It's not too bad!
Object Permissions

It's great to learn by doing. We'll create a real validator class with error checking!
Improving our Validator Class and Making it Work

Learn what the static keyword does. It's not too in depth but gives you the general idea.

Object File

Object Quiz
8 questions
Dive Into OOP with a Custom Database Object
7 Lectures 01:08:11
An introduction into some Object Oriented Programming by building a CRUD class.
Preview 08:43

You'll learn how to design a class and decide how it should be used.
Designing the Class Usage

Give the class the ability to insert data into MySQL.
Adding Insert Ability

Give the class the ability to insert data into MySQL.
Adding Delete Functionality

Give the class the ability to update data in MySQL.
Adding Update Ability

Give the class the ability to select data from MySQL.
Adding Select Ability

I'll show you how to save space and organize your class. Please use the External Resource for my finalized copy of the class (There may be a newer version than this video shows for bug fixes)
Class Organization and DRY
Practice: Build a Wireframe User System with our CRUD Model
8 Lectures 01:05:34
Create a Database and start laying out a project for a user wireframe system.
Setting up the UserX project

How to login using the $_POST variable and Database.
Setting up the Login Form

Learn how to point logged in users to the right spot.
Directing Logins and Logouts

Build the form to create new users utilizing our CRUD class.
Create User Form

Using our CRUD class again we list users and add a delete feature.
Listing Users, Deleting Users

Sort out some of the redundant code and add a system message ability.
Include Files & Session System Message

Keep admin and user areas separate, learn how to manage a different user type.
Adding User Types and Protect Areas

The SQL for the table I have
SQL Schema
What's Next?
2 Lectures 06:50
A chat about PHP frameworks
PHP Frameworks

A thank you and farewell with some advice!
Preview 02:51
1 More Section
Frequently Bought Together
About the Instructor
Jesse Boyer
4.4 Average rating
326 Reviews
13,329 Students
3 Courses

My name is Jesse.

I was born in Michigan, but I've been living in Central Florida the past 10 years.

I've been programming since I was 12. Beginning with QBasic in school, IRC Scripting at home, and HTML in Netscape Navigator on weekends. In those days I had to "View Source" to figure out how to do anything! I wrote my first website at this age using the GeoCities free websites. I then moved to AngelFire for a while. Remember those days?

When I hit 20, I spent several years freelancing with the skills I picked up from terribly long nights of studying. Freelancing was difficult for me because being a salesman wasn't in my blood, but I enjoyed the coding parts! I primarily used Linux, PHP, MySQL, and CSS. Then jQuery a bit later.

These days I live in the corporate world. I work with a small team of people and I enjoy it. I'm doing all sort of things from building solid back-ends, REST API's, HTML5/JS games, Python Django, and sometimes a bit of monkey work.

I enjoy explaining programming not because I like to talk, but because I find it rewarding to help people along their way. In fact, I found it so rewarding that I created a Youtube channel with hundreds of videos covering programming topics.

I hope you can benefit from my years of learning, I try to present it in a simple way so you don't need wrestle with all the questions I had!