PHP for beginners
Learning to program is a pretty hard and long process. And it's not limited to the syntax of a language. We would say that learning syntax is the easiest and the shortest step on the path, but we can't skip it. This Basics module is devoted to the basics of writing programs in PHP. It will serve as the basis for writing more complex programs later.
Originally programming languages were invented for arithmetic calculations. Things have changed since then, and these days programs are created mainly for buisness purpose, to help people in their daily activities and for entertainment. Generally, however, programs are still based on calculations. The most simple and basic topic in programming is arithmetics.
Information can be put into special "containers" and reused as many times as we want. Such containers are called variables. They help to make code easier to read and avoid unneccessary repetition.