<28/>
28 Lazy Coder

Category: PHP

Posts
A

PHP Loops Explained: for, while, do-while & foreach

Imagine you had to print “Hello” 100 times using PHP. Would you really write echo "Hello"; one hundred separate times?…

PHP · 12 min read
B

PHP Functions Explained: A Complete Beginner’s Guide

If you’ve just started learning PHP, you’ve probably come across the word “function” more times than you can count. Functions…

PHP · 12 min read
C

PHP Arrays Explained: A Complete Beginner’s Guide with Examples

If you’re learning PHP, you’ll quickly reach a point where storing just one value in a variable isn’t enough. Maybe…

PHP · 16 min read
D

PHP Conditional Statements Explained: A Beginner’s Guide with Examples

Think about your daily routine for a second. If it’s raining, you carry an umbrella. If it’s sunny, you wear…

PHP · 9 min read
E

PHP Operators Explained with Examples

Think about a simple calculator on your phone. You type 5, tap +, type 3, and it shows 8. That…

PHP · 9 min read
F

PHP Strings Explained: A Beginner’s Guide with Examples

Open WhatsApp right now. Every message you’ve ever sent — “on my way”, “good morning”, “see you at 8” —…

All · 13 min read
G

PHP Data Types Explained: A Complete Beginner’s Guide with Examples

Think about a simple calculator app on your phone. If you type in 5 + 3, it correctly shows 8.…

PHP · 18 min read
H

PHP Variables: Everything You Need to Know

If you’ve already learned how to display output using echo and print, the next thing you need to understand is…

PHP · 5 min read
I

Echo vs Print in PHP: What’s the Difference and Which One Should You Use?

If you’re just starting with PHP, you’ve probably come across echo and print. At first glance, they seem identical because…

PHP · 4 min read