
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Present PHP as a server-side scripting language in this crash course. Learn how PHP runs on the server, interacts with databases like MySQL, and powers WordPress.
Install and configure xampp on a virtual machine, choose apache and php 7.4, download from sourceforge, start the control panel as administrator, and launch the server with mysql and phpmyadmin.
Learn how to download and install Sublime Text, locate the program in program files, and use the sidebar to access files before you start coding in a virtual machine.
Learn how the apache server processes php files on localhost, create folders and index files, and write basic php syntax with echo statements, semicolons, and quotes, including embedding email.
Explore how the PHP echo statement prints content to the screen, using parentheses, HTML tags inside PHP, and understanding its server-side execution.
Explore the differences between echo and print in PHP, including return values, argument handling, and usage with single or double quotes, variables, and basic comments.
Learn how variables in PHP act as containers that hold data, created with a dollar sign, assigned values like strings or numbers, and displayed with echo, while noting case sensitivity.
Learn how constants in PHP remain unchanged, accessible globally across scripts, and how to define them using define with a name, value, and optional case sensitivity while following naming rules.
Understand PHP comments, including single-line and multi-line forms, the two kinds of comments, and use comment syntax to add notes for debugging and collaboration without affecting code execution.
Compare single quotes and double quotes in PHP, showing that single quotes print the literal string while double quotes interpolate variables to their values.
Explore PHP data types, focusing on integers and floats, and learn how PHP infers variable types automatically, print values, and use get type to display a variable’s type.
Explore how floats work in PHP by declaring a numeric variable with a decimal value, showing positive and negative examples, and confirming it remains a float.
Explore booleans as true or false values and see how they drive control structures. Apply them in if and switch statements in PHP.
Learn how PHP strings represent sequences of characters, including numbers and signs, and how single quotes define strings.
Explore nulls in PHP, a special data type that represents a variable with no value, and see how to declare, assign, and overwrite variables with new values.
Explore arithmetical operators, including addition, subtraction, multiplication, and division, with modulus to show remainders and decimals through simple examples.
Explore assignment operators in PHP by using the equals sign to assign values to variables and combining assignment with addition, subtraction, multiplication, and division to update variables.
Learn PHP comparison operators, including equal, identical, not equal, and greater than or less than, using numbers and strings to see how booleans drive control structures.
Explore how PHP's increment and decrement operators work, including pre-increment, post-increment, pre-decrement, and post-decrement, with practical examples showing how they modify and return variable values.
Master conditionals in PHP with if, else, and else if, plus the upcoming switch statement, through real-world examples like age-based access messages and login flow.
Explore how switch works in PHP, using cases, default, and break to handle a variable's value and display appropriate messages.
Explore how loops work in PHP, focusing on while loops, initialization, condition checks, and increment or decrement to repeat code and produce a sequence of numbers.
Explore how for loops control repetition in PHP, contrasted with while loops, through initialization, a condition, and decrement, and see the output from 0 to 20.
Explore arrays to store multiple values under one name, covering indexed, associative, and multi-dimensional types; create, access by zero-based index, and count items.
Learn how associative arrays in PHP store values by keys, access and modify them by key, and iterate with for each to display key-value pairs.
Explore multidimensional arrays in PHP, organizing large datasets with nested arrays and zero-based row and column indexing, using examples like post categories, programming languages, frameworks such as Laravel, and databases.
Learn how functions provide reusable code to avoid repetition, following the dry principle (do not repeat yourself); create, name, and define a function, then call it to run.
Learn how functions accept arguments in PHP, define parameters, and call them with values, including examples like first and last names. Avoid mismatched argument counts.
Explore how PHP super globals provide predefined variables accessible across global and local scopes, including server, request, post, session, and cookie data.
Learn how to handle post requests in PHP by building a simple HTML form, using $_POST to capture name and email, and display submitted data.
Learn how to create links using GET parameters in PHP and read them via the GET superglobal. Use if statements to check values, assign variables, and pass data between pages.
Explore how PHP sessions store data across pages using global session variables like user name, age, and color, and retrieve them on subsequent pages.
Start and manipulate PHP sessions by setting and displaying user name and age, and destroy sessions on logout to reset variables and prevent undefined indexes.
Do you want to start with web development and specifically Back-End? Have you ever thought about learning PHP but you don't know how and where to start? Are you currently a web developer and want to quickly get into PHP? If your answer is "yes", then you are in for a treat, because in this course, I packed my knowledge and experience of years of PHP. So after this course, you can feel comfortable working with PHP. The course is highly dedicated to those people who want to get into PHP and start with it in no time. We will start working with the basic fundamentals of PHP like "echo statements", "comments" and stuff like that up to the intermediate level and then to the advanced parts like "super globals", "date and time" and so on.
The other part of the course is very simple yet practical crucial and useful and that is "building a todolist with PHP and MySQL". and in it, I am going to walk you through the process of building this little app, so you can apply what you have learned. I am also going to show you how to think and analyze in terms of code and this will unlock your potential as a programmer and allow you to get out of the tutorial hell which kills every programmer's possibility of getting ahead.
The course also contains material such as code snippets and source codes for the project applied and quizzes and so on. if you are ready to take this journey with me, then go ahead and take this course.