November 2019

PHP Basics

This topic covers the basics of PHP.

Functions – PHP

Use the function keyword to create functions in PHP.

for loop – PHP

Learn how to write for loops in PHP.

Conditional statements – PHP

To write a conditional statement in PHP, you can use the if, elseif, and else constructs.

Data types – PHP

Learn how to write strings, integers, booleans and more in PHP.

Variables – PHP

In PHP, variable names start with a dollar sign.

echo – PHP

To print a string in PHP, use the echo command.

Comments – PHP

PHP supports single line and multi-line comments.