Learn PHP Programming From Scratch
4.3 (633 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.
28,817 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Learn PHP Programming From Scratch to your Wishlist.

Add to Wishlist

Learn PHP Programming From Scratch

Over 40 hours of PHP programming goodness.
Best Seller
4.3 (633 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.
28,817 students enrolled
Last updated 2/2017
English
English [Auto-generated]
Current price: $10 Original price: $200 Discount: 95% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 51.5 hours on-demand video
  • 3 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Demonstrate understanding of PHP programming
  • To learn the basics of PHP programming
  • To learn PHP programming by working on projects
  • To learn intermediate and advanced PHP programming
View Curriculum
Requirements
  • A Computer
  • A Desire to Learn
Description

Do you want to be a web developer? Do you need to brush up on your PHP skills? Then you're in the right place!

This is the most comprehensive PHP course on Udemy. You will learn everything from the basics to more advanced PHP programming using real world examples and sample projects.

Check out the free sample videos to get a free taste of PHP!

This course is updated regularly with new content and new projects to work on, so even if you get through the entire course, there will always be more the next time you log in.

What Is PHP?

PHP is an open source (free) scripting language that allows you to create dynamic websites and work with servers. PHP is now used on over 20 million websites and over 1 million servers worldwide.

Who is the target audience?
  • Aspiring web developers
  • Current web developers
  • PHP developers
Compare to Other PHP Courses
Curriculum For This Course
379 Lectures
51:27:00
+
Getting Started
3 Lectures 26:38

An introduction to the course, and a great introduction to PHP for those of you who are new to it

Sign up for our newsletter.

What Is PHP?
17:13

What Is PHP Used For?
08:48
+
Learn the Basics of PHP Programming
29 Lectures 03:45:05
Commenting Code
03:37

Setting Up A Web Server
07:50

The echo language construct allows you to output data to the browser. Also, a quick word about the print language construct.

* Section 2 source codes can be downloaded from the right side of the page.

Sign up for our newsletter.

Echo/Print
05:20

How to store values into variables, the rules for variable naming and how to output them to the user

Sign up for our newsletter.

Preview 07:25

A look at IF, IF ELSE and IF ELSEIF ELSE statements, with a example to help you understand the uses. Uses comparison operators in the example, which you can learn more about from our other videos.
If Statements
07:54

The arithmetic operators within PHP, with examples using them. Talks about addition, subtraction, multiplication, division, modulus (remainder), increment and decrement. 
Arithmetic Operators
06:37

Comparison operators allow you to compare values. For example, is the person old enough to do something?
Comparison Operators
08:44

The triple equal (===) compares not only values, but data types too.
Triple Equals
04:44

A look at logical operators, and detailed examples of how and why we use them. The use of NOT is outlined in my other videos.
Logical Operators
09:27

The switch statement offers a faster, cleaner way of comparison. This tutorial provides a couple of examples of using the switch statement.
Switch Statement
08:10

How to create an array, and assign values to either default or defined keys. Also speaks about foreach construct briefly.
Preview 08:52

Creating a multi-dimensional array following on from the previous example in the array video tutorial by phpacademy. This will show you how to create up to 3 dimensions, with an example of being able to store properties for each name
Preview 07:11

The while loop, it's syntax, and an example of counting numbers.
While Loop
05:55

The do while loop, it's syntax, how it differs from a while loop, and an example of counting numbers
Do While Loop
04:30

The for loop, it's syntax, and an example of counting numbers.
Preview 05:04

Explains the use of foreach construct for obtaining keys and values from an array, and displaying them
Foreach
06:37

Why functions are useful, how to declare them, and a few examples.
Functions
08:24

Function parameters don't need to be defined, and the use of this method means you can pass as many values to a function without defining them
Functions with Undefined Parameters
13:54

Format decimal points, or display numbers in thousands, etc. with commas to separate. We also look at reducing the amount of characters after the decimal point of a number. 
Formatting Numbers
05:22

$_GET allows values to be read in through the page URL (e.g. index.php?name=Alex). This example shows how to read these in, and how to incorporate a form as to submit these variables
$_GET
12:59

$_POST allows values to be read in through the HTTP POST method. This example shows how to read these in, and how to incorporate a form as to submit these variables. 
$_POST
07:51

How to embed PHP inside HTML, including an example with a form and a textarea. Please ensure you use the htmlentities() function, wrapped around your $_POST['name'], when submitting data to be displayed on a page
Preview 09:55

A much better, faster way of displaying HTML within PHP. In this example, in an IF ELSE statement.
A better way to display HTML
05:29

A more in depth look at arrays with some examples. Includes, creating and adding to arrays, dumping array contents and creating a function to output values from a specific array
Arrays (Part 1/2)
11:12

A more in depth look at arrays with some examples. Includes, creating and adding to arrays, dumping array contents and creating a function to output values from a specific array.
Preview 12:50

Cookies store data on the users computer ready for the server to read back from them. I show you how to set, show, check for and destroy cookies in this tutorial
Preview 06:51

Cookies store data on the users computer ready for the server to read back from them. I show you how to set, show, check for and destroy cookies in this tutorial
Cookies (Part 2)
03:32

An introduction to submitting and processing checkboxes with PHP.
Checkboxes
08:44

An introduction to submitting and processing radio buttons with PHP.
Radio Buttons
10:05
+
Intermediate PHP
7 Lectures 52:41

Simelar to cookies, sessions store data, but data is destroyed when the connection is lost (i.e. browser is closed). I show you how to create, show, and unset sessions.

      • * Section 3 source codes can be downloaded from the right side of the page.

Sessions
06:32

Exploding a string will split a string by a specific character (a delimiter) and place each broken string into an element within an array. This tutorial covers the basic concept of exploding strings with PHP, with an example.
Explode (String to Array)
10:08

Imploding an array will take each element, and create a string, including a specified delimiter. This tutorial covers the basic concept of imploding arrays with PHP, with an example
Implode (Array to String)
16:06

The ternary operator is essentially an inline IF statement, saving a lot of time and lines of code. In this tutorial we shorten around 9 lines, to 2.
Ternary Operator (Inline IF statement)
07:50

Quickly return true or false from a function. A handy tip that should save some time! 
Quickly Return True or False
01:47

Splitting a string by an unlimited (or, large) amount of spaces. Useful for splitting up search terms to process keywords. We use a very simple regular expression here, in conjunction with the preg_split function
Splitting A String By Spaces (Whitespace)
05:41

Simply generate a random number with PHP.
Generate a Random Number
04:37
+
PHP Data Objects (PDO)
16 Lectures 01:42:29
 Connecting to a database with PDO, using one of the available PDO drivers. In this case, we're connecting using MySQL.
Introduction
05:45

Now we've connected to MySQL and selected our database using PDO, we need to query our database and return a result set. We look at returning all results, or results that can be looped through (fetching next row with each loop). We also look at returning in both associative and numerical arrays.
Preview 03:05

Using a PDOStatement method, we can return the amount of rows that were affected by our last query, which can be very useful!
Setting up database
04:12

Binding values to a query offers SQL injection protection. Here, we look at an example of searching a database table for user defined input, and injecting this value into the query.
Connecting
08:40

We can set the error reporting attribute of the PDO object so methods throw exceptions on error. We can then make use of a try catch block to catch thrown exceptions.
Error levels
06:28

Here, we look at simply returning the last inserted ID for the last executed query
Basic query
05:02

Transactions offer the benefit of 'storing' a sequence of queries to be committed. This benefit means we can roll back these queries if an exception is thrown.
Fetching results
08:57

Looping
05:02

Fetch all
05:15

Fetch as object
08:16

Row count
06:56

Project - user class dates
09:51

Escaping
07:27

Prepared statements
06:18

Inserting
07:14

Last inserted id
04:01
+
PHP and MySQLi Database Integration
14 Lectures 01:31:38
Introduction
05:21

Conecting to a database
07:55

Connecting using php
09:42

Creating database table
03:38

Pulling single record
04:43

Pulling multiple records
09:11

Different result types
05:26

Counting results
09:25

Updating and affected rows
04:46

Escaping
12:33

Prepared statements for inserting
08:14

Selecting prepared statements
05:42

Free result
02:48

Closing db connection
02:14
+
Working with Laravel 4
16 Lectures 03:21:05
Introduction to Our Project
06:03

Installing Laravel
01:17

The Database
04:52

Creating the Home Page
11:35

Templating
09:08

PDO and SMTP E-mail
12:38

Creating Accounts Part 1
18:12

Creating Accounts Part 2
25:36

E-mail Activation
17:44

Signing In
18:04

Signing Out
05:34

Remember Me
04:17

Changing Passwords
19:50

User Profiles
07:16

Account Recovery
31:12

Migrations
07:47
+
Common PHP Errors
6 Lectures 44:50
Changing Maximum File Upload Size
08:26

Cannot Modify Header Information
04:21

Undefined Index
09:05

Unexpected $end
06:53

Supplied Argument Not A Valid MySQL Result Resource (MySQL)
10:49

Access Denied (MySQL)
05:16
+
PHP Security
8 Lectures 01:30:13
Cookies
11:20

File Includes
11:15

File Uploading
14:36

Null Byte
07:29

Passing Variables
07:10

Session Hijacking
07:31

SQL Injection
17:57

XSS (Cross-Site Scripting)
12:55
+
BB Codes
3 Lectures 22:36
Part 1
09:27

Part 2
08:27

Part 3
04:42
+
How to Check If a Website is Up or Down
2 Lectures 17:09
Part 1
11:38

Part 2
05:31
33 More Sections
About the Instructor
Stone River eLearning
4.2 Average rating
17,256 Reviews
285,826 Students
203 Courses
280,000+ Happy Udemy Students

At Stone River eLearning, technology is all we teach. If you're interested in programming, development or design - we have it covered. 

Check out our huge catalog of courses and join the over 450,000 students currently taking Stone River eLearning courses. We currently offer 100+ different technology training courses on our Stone River eLearning website and are adding new courses on hot and trending topics every month. A subscription option is available for those with a real passion for learning.