PHP & MySQL course for absolute beginners | Become a PHP pro

Learn the absolute basics about PHP from scratch and take your skills to another level
Free tutorial
Rating: 4.6 out of 5 (1,746 ratings)
49,026 students
7hr 38min of on-demand video
English [Auto]

You will learn how to download and install PHP and MySQL tools.
You will learn how to work between a user interface and a database back-end that stores critical information.
You will learn to work with the most used data types.
You will learn what operators are.
How to use conditional statements, while loops, do while loops, for loops, foreach loops.
You will learn why you should use functions.
You will learn the basic build-in functions.
You will learn the most important superglobals.
You will learn how to create a working file upload system.
You will learn how to create a working contact form.
How to use forms to submit data to databases.
You will learn how to use databases.
You will learn MySQL Queries.
Password hashing.
Error handling.
You will learn why you should use prepared statements.
You will learn how to create a login/register script.
And way more...


  • Basic HTML (I will be discussing most of the stuff that we need).
  • No programming experience at all.
  • A working computer/laptop.


Welcome to the course ‘PHP For Beginners’ In this course we will go step by step to digest all the basics topics in PHP, so if you are looking for a quick and understandable way to become a master in PHP, this is a perfect course to start with. Most of the sections will have programming exercises and at the end of every section, I will be making the exercises to show you the solutions! The reason why I think it’s important to make the exercises is because you can only learn PHP by DOING IT!

We will also be looking at the basics of MySQL Database since the final section of this course is inserting data in a table, then we will be outputting the data from the table in the browser, and then we will be creating our own login and register script!

In the beginning years when I started programming, I came across so many videos and tutorials where tutors would’ve just create the code without explaining it and I always wondered “why are you doing it this way”? Therefore, I try to give you examples why you should use this method instead of another method and I try to give you real life examples.

This course is created in a logical order to make you a PHP hero in on time! The course has been divided into the following main sections:

1. Introduction

2. Variables and Data Types

3. Operators in PHP

4. Control structures

5. Functions in PHP

6. Build-in functions in PHP

7. How to work with superglobals in PHP

8. Introduction to databases

9. Using a database to create a register/login script

Why you should learn PHP

Anything that you can do on a web server, you can do with PHP. Do you read blogs? Well, blogs are created in PHP! Do you order stuff online? Well, that’s also created with PHP! What I’m trying to say it: PHP IS EVERYWHERE!

Who this course is for:

  • Students that want to learn PHP and MySQL


Content Creator / Developer
Dary Nazar
  • 4.6 Instructor Rating
  • 2,288 Reviews
  • 62,347 Students
  • 4 Courses

Hi and welcome to my Udemy page! My name is Dary Nazar and I've been coding professionally and for fun for over seven years now. Currently, I work as a freelance backend developer, helping startups and large corporations build and scale projects that use Laravel or PHP.

Three years ago, I discovered a second passion: making tutorials to help others pursue their dreams. I started a YouTube channel named 'Code With Dary' that has over 44.000 subscribers and 4 million views on topics such as PHP, Laravel, Symfony, Tailwind CSS, and more.

Since I started creating YouTube tutorials, it's hard to label myself. When people ask me what I do, I say that I'm a developer and educator who creates online programming courses to help anyone interested in learning web development.

My goal is to make complex topics as easy as possible by explaining them to you in a simple and understandable way.

Top companies trust Udemy

Get your team access to Udemy's top 25,000+ courses