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.1 (97 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,593 students enrolled
Take This Course
  • Lectures 57
  • Length 6 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2013 English

Course Description

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.

What are the requirements?

  • PHP Installed on Hard Drive
  • Some HTML

What am I going to get from this course?

  • PHP Syntax
  • PHP Functions
  • Class Creation
  • Basic MySQL Commands
  • Building a PHP Application

Who is the target audience?

  • beginner
  • intermediate

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Getting Started
Developing in PHP should be done locally (on your hard drive), here are a few packages that will get you started.
This is a run down on what WAMP Server does and how a few things are configured, let's enable a few addons!
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.
I strongly encourage you to use Chrome and the Developer tools, they will help you a great deal in your development.
We use Netbeans IDE to setup our PHP workspace to organize our files and have a rich programming experience.
Section 2: Syntax Warmup!
You'll learn what variables are and how to use them. This is used in every programming language.
There are different types of variables, such as numbers, strings and arrays. I'll show you the difference!
4 questions
Make sure you understood the easiest stuff!

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. 
4 questions
The switch statement is similar to the IF statements, but I'll teach you the difference.
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!
Loops write code for you. I'll show you how to loop data so you save a lot of time.
8 questions
2 pages

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

Accept URL strings and special parameters in this Super global variable.
Accept form data in this Super global variable.
This is an overview of how uploading files in PHP works.
Simply an exercise to demonstrate how easy it is to post form data.
4 questions
Section 3: Behold, Functions!
Functions will allow you to repeat your code after defining what it does one time.
Add more variety to your function definition and give it more flexibility to do what you want.
Gathering data after you've used a function is going to be needed, here's how to do it!
Scope has to do with where you are. When using functions, you enter a new scope, I'll show you what it really means.
Section 4: Built In Functions
Messing with strings is easy with so many PHP functions, you'll be using these all the time.
Learn how to apply functions to your arrays and get different results.
A simple demonstration on building a site while saving your code from being retyped with includes.
Section 5: MySQL Database!
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.
Learn how to layout a database and table.
learn what a relationship with tables do and how to take advantage of it.
Learn how to select specific data from your MySQL database.
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!

8 questions
Lets see if you can remember!
Section 6: PHP to MySQL Database
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.
4 questions
Do you know why you are using PDO?

Section 7: Objects Overview and Building a Validation Class
Get the quick jist on what an object is!
Learn to create an object and make calls with it.
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.
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!
It's great to learn by doing. We'll create a real validator class with error checking!
Learn what the static keyword does. It's not too in depth but gives you the general idea.
Object File
Object Quiz
8 questions
Section 8: Dive Into OOP with a Custom Database Object
An introduction into some Object Oriented Programming by building a CRUD class.
You'll learn how to design a class and decide how it should be used.
Give the class the ability to insert data into MySQL.
Give the class the ability to insert data into MySQL.
Give the class the ability to update data in MySQL.
Give the class the ability to select data from MySQL.
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)
Section 9: Practice: Build a Wireframe User System with our CRUD Model
Create a Database and start laying out a project for a user wireframe system.
How to login using the $_POST variable and Database.
Learn how to point logged in users to the right spot.
Build the form to create new users utilizing our CRUD class.
Using our CRUD class again we list users and add a delete feature.
Sort out some of the redundant code and add a system message ability.
Keep admin and user areas separate, learn how to manage a different user type.
The SQL for the table I have
Section 10: What's Next?
A chat about PHP frameworks
A thank you and farewell with some advice!
Section 11: Bonus Videos

Get your hands dirty in Linux if you never have before. I'll show you how to setup a Linux Server, with a Virtual Host, and how to run all that you need! It's very easy!

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

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!

Ready to start learning?
Take This Course