Master variable interpolation and concatenation, the two ways to add a variable to a string in PHP, and learn when to use each.
So, you want to know how to determine a variable’s data type in PHP? Read on; this tutorial will show you how!
Are you wondering about the best way to get the domain name from the current URL? Read on; this tutorial will help.
Learn how to check if a string contains a given substring in PHP, with or without case sensitivity — and more.
Not sure how to check for null values in PHP? This tutorial will show you the two best ways to do it, with code examples and without the B.S.
Learn how to comment out PHP code and find out the most common mistakes to watch out for.
Trying to figure out how to echo an iframe in your PHP code? Here are the three ways to get it done, with code samples.
These are the two best ways to initialize an empty array in PHP.
The best way to check if a variable is a string or not in PHP.
We explore some of the best ways to add a line break to a string in your PHP code.
The best way to check if a file or directory exists in your PHP application.