PHP
PHP code tutorials
Global Variables – Superglobals Explained
What are Global Variables? A global variable in PHP is a variable that is accessible from all the functions or...
PHP Ternary Operator Explained
PHP provides multiple ways to deal with decision making and controlling the flow of your program. Besides the if else...
PHP CLI – Built In Web Server
PHP is most often used with a Web Server like Apache or NGinx and the output is typically viewed in...
PHP Arrays
In this tutorial I will demonstrate all three types of arrays with code examples explained. What Are Arrays in PHP...
PHP Functions
One of the best features of PHP is the fact that it has support for over a thousand built-in functions...
PHP Loops
Besides conditional statements like we’ve covered in previous tutorials, PHP also supports various types of looping mechanisms. There are four...
PHP Switch Statement
In the last article, I demonstrated how to use PHP’s if elseif and else control structures for decision making. PHP...
PHP if, elseif, else – Conditional Statements
Decision Making in PHP One of the best parts of Dynamic Programming Languages like PHP and others, is the ability...
PHP Comments
What are Comments in PHP A Comment in your PHP code is either a line or group of lines that...
PHP Local Development vs Production Website
Where should you code your PHP project? Should you add your code on a Production Website or should you develop...
PHP Operators
In this article, I show you how to manipulate and perform operations on variables and values using PHP Operators. What...
PHP Numbers
Working with numbers in PHP is not difficult once you understand how PHP handles various types of numbers. Numbers are...
PHP Strings
A PHP String is a sequence of letters and words like a sentence or name, numbers that are a String...
PHP Data Types
PHP supports 10 Primitive Data Types which can be used with Variables to store data. You can store simple strings...
PHP Echo & Print
The way you display or output dynamic text to the browser is with either the Echo or Print Commands/functions. For...
PHP Variables
Variables are important in most programming languages. A Variable is a Container to store information or a value. The variable...
PHP Syntax
PHP is a server side scripting language written in the C Programming Language and has a similar syntax as C....
PHP Intro
What is PHP? PHP is a server side scripting language that’s used on nearly 80% of websites. As a server...