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?
Sign up for our newsletterIntroduction to the Course Preview 00:37
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.Variables 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. Arrays 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 Multi-dimensional Arrays 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. For Loops 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 Embedding PHP within HTML 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. Arrays (Part 2/2) 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 Cookies (Part 1) 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
Register to leave a review