PHP Arrays
Earlier we looked at how variables can store a single value, such as a single number or a single str...
PHP Loops
PHP, like other programming languages, uses loops to perform repetitive actions. PHP has the followi...
switch and Case match constructs in php
Switch..case construction The construct switch..caseis an alternative to using the construct if..els...
if..else construct and ternary operation in php
Conditional constructions allow you to direct the work of the program, depending on the condition, a...
Operations in PHP
In PHP, we can use various operators: arithmetic, logical, etc. Let’s look at each type of ope...
Data types
PHP is a dynamically typed language. This means that the variable’s data type is inferred at r...
Variables
Variables store individual values that can be used in PHP expressions. The dollar sign is used...
PHP Basics Syntax
Embedding PHP code When creating the first PHP program, some basic principles for creating PHP scrip...
First site in PHP
Now we will create a small site, which is designed to give an initial understanding of working with ...
Installing PHP
There are different ways to install all the required software. We can install components separately...