Learn PHP in 15 minutes by following the introductory tutorial.
This tutorial is intended to as an introduction to PHP. We will cover the basics of PHP by covering the following;
- Installing Laragon or XAMPP
- PHP file
- Outputting strings
- If statements
- Handling data from HTML forms
The video below has been prepared to provide an introduction to learn php in 15 minutes. I hope that you find it useful and have some fun trying out the examples.
First, we need to install some software in order to run PHP on your computer. If you already have a web server with PHP, you can use that. However, I would recommend that you go with a local site for learning as it will have a faster response time and you won’t have to worry about making any mistakes.
A common program for web developers is XAMPP. You can download the program for free from https://www.apachefriends.org/
If you chose to use XAMPP I have a tutorial on how to set up a local host with XAMPP on this YouTube channel. You can find the tutorial at this XAMPP tutorial
For this tutorial, I will be using Laragon as it is super easy to use, especially if you are a beginner.
You can download Laragon at https://laragon.org/download/
Have fun and let me know if you have any comments.