Tag: learn php
PHP for WordPress Development: The Free Course
This free course on PHP for WordPress introduces the core topics you need to understand to practice the PHP side of WordPress development.
Understand PHP Modulo: Tricks with Division Remainders
When I learned math, I didn’t really understand the modulus function. In fact, it was until I learned PHP that I understood the value of a remainder from division. PHP’s role in making websites makes the modulus operator (or modulo) much more important than it ever was in math class for me.
PHP Math Functions: Understanding the Basics
Our focus today is PHP math. Or “PHP maths,” if you prefer British English. We’re not going to teach you the basics of mathematics itself, but just explore some of the common ways we use math in our PHP code and some of the less-clear things that end up super-valuable for web development using the PHP programming language.
Three Tips for Writing Airtight PHP Conditions
In PHP, conditions are the core of conditional statements such as if-statements, and of certain other control structures like while() loops.
A Thorough Introduction to PHP Arrays
This article is an in-depth introduction to PHP arrays. We’ll cover what PHP arrays are, how to create and work with them, and a few less-known topics that even experienced PHP developers may find informative.
Learning PHP: Concatenate Strings and Variables Efficiently
A slightly weird term you’ll hear people use around PHP: “concatenate.” I still remember the first time I heard that word, having no earthly idea what it meant. It turns out it was a common and useful task in PHP: join two strings together so that we get a single string or something that we can echo to the screen.
Learning PHP for WordPress Development: while() Loops
Welcome to this discussion of PHP loops: what loops are, whey they’re important, and how to use PHP while() loops. This article continues our series explaining the basics of PHP for WordPress development.
Learning PHP for WordPress Development: Control Flow Basics
Welcome to this introduction to PHP control flow! This article continues our series explaining the basics of PHP for WordPress development.
Learning PHP for WordPress Development: How to Include PHP in HTML
Welcome to this article on how to use PHP in HTML! Here, we try to get specific about exactly how PHP and HTML interact, at the level of a specific .php file. In other words, how do you actually include PHP in HTML, and what rules can and can’t you follow in weaving PHP and HTML together?
Learning PHP for WordPress Development: Understanding PHP’s return
Welcome to this rundown on return in PHP! This article continues our series explaining the basics of PHP for WordPress development.