PHP Programming Tutorial
Server-side web development, forms, and MySQL integration.
Turn PHP into a web career
PHP powers a lot of the web. Full Stack is coming soon; FDE is playable if you want production ops skills now.
Curriculum & Learning Path
Follow this step-by-step track or jump straight to any concept.
- 1
Introduction
0/13 done
What is PHP?
4 min read
Installing PHP on your Machine
4 min read
First PHP Example
3 min read
PHP Variables
2 min read
PHP echo and print
3 min read
PHP Datatypes
2 min read
PHP Constants
2 min read
PHP Operators
5 min read
PHP if...elseif...else
2 min read
PHP Switch Statement
2 min read
PHP while and do...while Loop
3 min read
PHP for and foreach Loop
2 min read
PHP break statement
2 min read
- 2
Intermediate
0/17 done
PHP Functions
6 min read
Introduction to Arrays
2 min read
Indexed Arrays
3 min read
Associative Arrays
3 min read
Multidimensional Arrays
4 min read
Array Functions
8 min read
PHP Strings
4 min read
String Functions
6 min read
Form Handling
6 min read
Form Handling Example
4 min read
Introduction to State Management
2 min read
PHP Cookies
4 min read
PHP Sessions
4 min read
Introduction to File Handling
2 min read
Create, Open and Close a File
4 min read
Read a File
4 min read
Write or Append data to File
2 min read
- 3
Advanced
0/11 done
Introduction to OOPS Concept
4 min read
Defining a Class
4 min read
Creating Object of a PHP Class
3 min read
Access Modifiers
7 min read
$this Keyword
4 min read
Constructor and Destructor
4 min read
Inheritance & its Type
8 min read
Abstract Class and Methods
4 min read
PHP Interface
3 min read
Exception Handling: try, catch and throw
3 min read
PHP with MySQL
6 min read