Constants in PHP

This tutorial explains how to define and use constants in PHP. Constants contain a fixed value that cannot be changed after it has been set. Constants are useful for when …

Variables

The code snippet below shows how to declare variables in JavaScript and how to assign values to a variable. Pay attention to the //comment which explain the different ways of …

Operators in JavaScript

In this tutorial, you will learn how to use a range of operators in JavaScript to assign values, modify variables and make calculations. If you have created your own variables and …