php basics for beginners

learn the basics of php
Rating: 3.6 out of 5 (54 ratings)
5,384 students
php basics for beginners
Rating: 3.6 out of 5 (54 ratings)
5,384 students
PHP basics for beginners


  • There are no speciall requirements for this course.
  • A local server setup is required, for which we will install wampserver which free or you can install any other which you like.
  • An IDE, I will use PHPStorm but you can any other and I have given some segeestion in the enviorment setup section, like visual studio code, notepad++ etc..
  • A PC to execute your code for practice.
  • It is better to have the knowledge of HTML but not required.

Hello everyone and welcome to the PHP basic course. This course is for beginners who want to learn the basics of PHP. In this course first, we start from a hello world program, then we will discuss variables, conditions, loops, sessions and forms. Then we will create a database and will create a table in this database. Then we will insert data to the database through PHP form. After completing this course, you will have learned the basics of PHP and you will be able to go to the next step and learn object-oriented programming in PHP.

Who this course is for:
  • web-developers who want to learn the basics of PHP
9 sections • 32 lectures • 1h 49m total length
  • Introduction
  • 01 local server selection wamp, xampp, mamp, lamp
  • 02 wamp server installation
  • 03 IDE, Editor for PHP
  • 01 php basic- creating and running our first php programe
  • 02 php basic- variables
  • 03 php basic-create space between string
  • 04 php basic-showing text in separate lines
  • 05 php basic-addition
  • 06 php basic-substraction
  • 07 php basic-comments
  • 08 php basic-multiplication
  • 09 php basic-division
  • 10 php basic-reminder
  • 01 php basics-if condition
  • 02 php basic-else condition
  • 03 php basic-ifelse condition
  • 01 php basic for loop
  • 02 php basic-array
  • 03 php basic-foreach loop
  • 04 php basic-while loop
  • 01 functions introduction
  • 02 php basic-more about functions -multiply function
  • Sessions in php
  • 01 php forms introduction
  • 02 php forms get and post methods
  • 03 php forms getting form data
  • 04 php form- check if form is submitted or not
  • 05 php form creating a database and connect to it
  • 06 creating a users table in mysql database
  • 07 php form inserting data to database from form
  • conclusion and next step

Software Engineer and Web developer
Ijaz Ali
  • 3.6 Instructor Rating
  • 72 Reviews
  • 8,674 Students
  • 2 Courses

I am a professional Software engineer. I did MSSE, MS software engineering. I have 2 years of web development experience. I work in PHP and mostly work in Laravel. Beside that I also have some experience in Code-igniter.  Along with PHP I also work in other web technologies like Code-igniter, HTML, CSS, PHP, JAVASCRIPT, BOOTSTRAP, MYSQL, AJAX, JSON and GitHub etc.