๐Ÿงช Demo site. Try it as Student ยท Instructor ยท Admin โ€” demo data may be reset at any time.

PHP & MySQL: Build Dynamic Websites from Scratch

A free, practical introduction to server-side development with PHP 8 and MySQL.

4.3โ˜…โ˜…โ˜…โ˜…โ˜…(147 ratings) 381 students
Created by Farid Ahmadi Last updated 8/2026 English Beginner

What you'll learn

  • Write clean PHP 8 code
  • Connect to MySQL with PDO
  • Handle forms, validation and file uploads
  • Build login and registration systems
  • Create a simple CMS project

Course content

3 sections ยท 11 lectures ยท 2h 54m total length
Introduction4 lectures ยท 38m
PHP syntax basics 18m
Quiz: PHP basics 6m
Working with Data4 lectures ยท 1h 28m
Forms and user input 16m
MySQL fundamentals 20m
PDO and prepared statements 22m
CRUD project 30m
Authentication3 lectures ยท 48m
Sessions and cookies 14m
Registration and login 24m
Security best practices 10m

Requirements

  • Basic HTML knowledge
  • XAMPP or any local server

Description

This free course teaches you the foundations of server-side web development with PHP and MySQL. You'll learn how to handle forms, work with databases, manage sessions and build a small content management system from scratch.

Instructor

Farid Ahmadi

Farid Ahmadi

Senior Full-Stack Developer & Educator

  • 4.4 instructor rating
  • 504 reviews
  • 1,533 students
  • 4 courses

Farid has 12 years of experience building web applications for startups and international organisations in Kabul and Dubai. He has taught more than 400,000 students worldwide and is passionate about making complex topics simple, practical and fun.

Student feedback

4.3โ˜…โ˜…โ˜…โ˜…โ˜…
Course rating
  • โ˜…โ˜…โ˜…โ˜…โ˜…61%
  • โ˜…โ˜…โ˜…โ˜…โ˜…22%
  • โ˜…โ˜…โ˜…โ˜…โ˜…10%
  • โ˜…โ˜…โ˜…โ˜…โ˜…6%
  • โ˜…โ˜…โ˜…โ˜…โ˜…1%
BJ
Bilal Jalali
โ˜…โ˜…โ˜…โ˜…โ˜…23 hours ago

Great content and a fantastic instructor. I learned so much more than I expected.

Sahar Noori
Sahar Noori
โ˜…โ˜…โ˜…โ˜…โ˜…1 days ago

Really enjoyed the real-world examples and the quizzes.

Marwa Omarzai
Marwa Omarzai
โ˜…โ˜…โ˜…โ˜…โ˜…1 days ago

Excellent course! The explanations are clear and the projects are really practical.

Ahmad Faizi
Ahmad Faizi
โ˜…โ˜…โ˜…โ˜…โ˜…1 days ago

Very well structured. I especially liked the hands-on exercises after every section.

Haroon Haidari
Haroon Haidari
โ˜…โ˜…โ˜…โ˜…โ˜…1 days ago

Solid introduction. Perfect for beginners.

Zia Mohammadi
Zia Mohammadi
โ˜…โ˜…โ˜…โ˜…โ˜…1 days ago
AM
Arezo Mangal
โ˜…โ˜…โ˜…โ˜…โ˜…2 days ago

The best course I have taken on this topic. Highly recommended!

Omid Rasooli
Omid Rasooli
โ˜…โ˜…โ˜…โ˜…โ˜…2 days ago

Perfect free introduction to PHP. Clear explanations and I built my first CRUD app!

HS
Haroon Stanikzai
โ˜…โ˜…โ˜…โ˜…โ˜…2 days ago

The best course I have taken on this topic. Highly recommended!

Sadaf Alizai
Sadaf Alizai
โ˜…โ˜…โ˜…โ˜…โ˜…2 days ago

Solid introduction. Perfect for beginners.

Idris Rashidi
Idris Rashidi
โ˜…โ˜…โ˜…โ˜…โ˜…3 days ago

Amazing! I finished it in a week and could not stop watching.

Massoud Rashidi
Massoud Rashidi
โ˜…โ˜…โ˜…โ˜…โ˜…3 days ago

Very well structured. I especially liked the hands-on exercises after every section.

Students also bought