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
  • 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
  • Arrays in PHP

    Arrays in PHP

    An array is an orderly arrangement of a collection of multiple values, that is the basic explanation I can up with. You can think of them as a collection of values stored in a specific variable, and also provides a way to access the value. Indexed Arrays A simple analogy of understanding how array work is picturing ...

    Read Full Post
  • Guide To Functions In PHP

    Guide To Functions In PHP

    In this guide, we would look at functions in PHP…so…first Intro To Functions Functions are modular building blocks for creating powerful and modular scripts, using function makes it easy to isolate a code since it would be packaged up into a single unit, and you can then call the unit whenever and wherever it is needed. If you’ve ...

    Read Full Post
  • Control Structure: Guide To Learning Loops In PHP

    Control Structure: Guide To Learning Loops In PHP

    In our previous guide, we’ve seen conditional statements in PHP that lets us alter the program flow base on conditional choices, in this guide, we would look into the different types of loops in PHP. Loops give us the ability to write code that would execute more than once without the need of writing the code ...

    Read Full Post
  • Conditional Statements In PHP

    Conditional Statements In PHP

    Conditional statements alter the program flow, and by using a conditional flow, you can make your program make choices about what should happen based on certain conditions. We can achieve this by using a logical expression, and an example of such is if-else-statement, switch statement, e.t.c. Before we get into logical expression, let’s understand logical operators ...

    Read Full Post