PHP Tutorials

PHP is a server-side programming language that allows web developers to create dynamic content that interacts with databases.

I created this page to documents all I have learned on PHP, instead of reading the manual every time I need to use a specific function or I wanna learn a certain syntax, I’ll hop in here to find the details, and the bad thing about me is that I can only understand my very own explanation ūüôā

Here are guides to follow if you are new to PHP…

Beginner Tutorials On PHP

  1. Getting Started With PHP (Introduction)
  2. Exploring Data Types, Variables and Operators in PHP
  3. Conditional Statements In PHP
  4. Control Structure: Guide To Learning Loops In PHP
  5. Guide To Functions In PHP
  6. Arrays in PHP

Advanced Tutorials On PHP

  1. Object-Oriented Programming Intro in PHP
  2. Static Methods and Properties In PHP
  3. Abstract Classes, Interfaces, and Traits In PHP
  4. PDO: Querying Data From Database – PHP MariaDB/MySQL
  5. Creating a Tiny PHP MVC Framework From Scratch
  • Creating a Tiny PHP MVC Framework From Scratch

    Creating a Tiny PHP MVC Framework From Scratch

    In this guide, we would go over creating a tiny PHP MVC Framework, this would sharpen your knowledge on how major frameworks (e.g Codeigniter or Laravel) works in general. I believe if you can understand the practical concept in this guide, you’ll be able to relate the logic to the aforementioned framework real quick. Basics of ...

    Read Full Post
  • PDO: Querying Data From Database – PHP MariaDB/MySQL

    PDO: Querying Data From Database - PHP MariaDB/MySQL

    In this guide, you’ll learn how to query data from a MariaDB database using PHP PDO, plus an understanding of how the nuances work. So, here are the details… I have a table¬†cmusicin¬†marn_melodicdatabase, in short, here is how the table looks if I use the SELECT statement directly from mariadb client: Suppose I want to SELECT FROM cmusic ...

    Read Full Post
  • Abstract Classes, Interfaces and Traits In PHP

    Abstract Classes, Interfaces and Traits In PHP

    So far, we’ve covered OOP basics in PHP, and Static Methods, & Properties, in this guide, we would cover abstract classes in PHP. What is an abstract class? Just like I explained in the OOP basics, I said a class¬†describes the concept of creating an Object, there are not necessarily the objects themselves, but as a code ...

    Read Full Post
  • Static Methods and Properties In PHP

    Static Methods and Properties In PHP

    We’ve recently dived deep into the basics of Object-Programming language in PHP, in this guide, we would look into static methods and properties. In the OOP guide, I said class describes the concept of creating an Object, there are not necessarily the objects themselves, but as a code template used to create or generate one or ...

    Read Full Post
  • Object Oriented Programming Intro in PHP

    Object Oriented Programming Intro in PHP

    We recently went through the understanding of functions in PHP, well, that is one way of writing a PHP code, and the other way is using objects. In object-oriented programming, objects include data and behavior (code), its methods of operation, and how it interacts with other objects. The definition is a bit blurry…so… Let’s dive in a ...

    Read Full Post