Learn PHP

If you want to be a web developer, you need to learn PHP. Read these free tutorials to master this powerful and popular scripting language.

Getting started with PHP

  • How to Build a Simple REST API in PHP

    How to Build a Simple REST API in PHP

    Sajal Soni
  • How to Use Sessions and Session Variables in PHP

    How to Use Sessions and Session Variables in PHP

    Sajal Soni
  • How to Upload a File in PHP (With an Example)

    How to Upload a File in PHP (With an Example)

    Sajal Soni
  • All PHP content:

    1. How to Redirect With PHP

      How to Redirect With PHP

      Tutorial Beginner

      In this article, I'll show you how to redirect to another page with PHP. I'll explain exactly how PHP redirects work and show you what happens behind the...

    2. What Does PHP Stand For?

      What Does PHP Stand For?

      Tutorial Beginner

      In this quick post, we’re going to discuss what PHP stands for and what you can build with it. If you are new to PHP, this article should help you to...

    3. How to Run a PHP File

      How to Run a PHP File

      Tutorial Beginner

      Today, we’re going to discuss how you can run PHP files. If you're new to PHP programming, this article will help you learn how to run PHP scripts.

    4. How to Open PHP Files

      How to Open PHP Files

      Tutorial Beginner

      In this quick post, we’re going to discuss different ways to open and edit a PHP file. If you are a novice to PHP programming, this article should help you...

    5. What Is a PHP File?

      What Is a PHP File?

      Tutorial Beginner

      In this quick post, we’re going to discuss the ins and outs of a PHP file. If you're new to PHP programming, this article will help you grasp various aspects...

    6. How to Connect PHP to MySQL

      How to Connect PHP to MySQL

      Tutorial Beginner

      In this article, we’re going to discuss MySQL database connectivity in PHP. It’s aimed at beginners who want to learn how to connect PHP to MySQL and perform...

    7. Where Is php.ini, the PHP Configuration File?

      Where Is php.ini, the PHP Configuration File?

      Tutorial Beginner

      In this tutorial, we’re going to discuss the php.ini file—the main configuration file in PHP. From the beginner’s perspective, we’ll discuss what it’s meant...

    8. Create a PHP Contact Form With ContactMe

      Create a PHP Contact Form With ContactMe

      Tutorial Beginner

      Today, we’re going to review the ContactMe tool, which allows you to create contact forms on your PHP site. It’s a very easy-to-use tool and allows you to...

    9. Build an App With GraphQL, Laravel, and Vue

      Build an App With GraphQL, Laravel, and Vue

      Course Intermediate

      RESTful APIs have many issues. They can require multiple round trips to multiple endpoints in order to fetch related data, and they're prone to over or under...

    10. Create Beautiful Forms With PHP Form Builder

      Create Beautiful Forms With PHP Form Builder

      Tutorial Beginner

      In this tutorial, you'll learn how to use PHP Form Builder, a feature-packed form builder library, to create and beautify forms. You'll also learn how to use...

    11. 8 Best Project Management Systems and CRMs on CodeCanyon

      8 Best Project Management Systems and CRMs on CodeCanyon

      Tutorial Beginner

      A project management system is the best solution to ensure synchronization of teams, projects, and tasks. And a CRM helps manage customer contacts and...

    12. Try These 3 Practical Projects to Learn WordPress Plugin Development

      Try These 3 Practical Projects to Learn WordPress Plugin Development

      Tutorial Beginner

      If you want to learn to code your own WordPress plugins, you should try our new course, 3 More Practical Projects to Learn WordPress Plugin Development.