Archive for the 'PHP Tutorial' Category

Free, Encrypted Backup Online

Saturday, November 13th, 2010

Do you remember the last time your computer crashed? Was the important project you were working on ever even recovered? If you´ve ever been through this, you understand just how painful it can be to try to retrieve lost work. Back up data is becoming more popular in the world. Backing up files, usually requires [...]

PHP Arrays

Saturday, November 13th, 2010

What is an Array? A variable is a storage area holding a number or text. The problem is, a variable will hold only one value. An array is a data structure that stores one or more values in a single value. In PHP, there are three kind of arrays: * Numeric array – An array [...]

The PHP Switch Statement

Saturday, November 13th, 2010

Switch Statement: Switch Statement are used to perform different actions based on different conditions. Switch statements are just like if..else conditional statements where a block of code is executed if the condition is true. Example: <?php switch ($x) { case 1: echo “Number 1″; break; case 2: echo “Number 2″; break; case 3: echo “Number [...]

PHP If…Else Statements

Friday, November 12th, 2010

If…Else  statements are used to perform different actions based on different conditions. Think about the decisions you make before you go to bed. If you have homework to do the next day, then you will have to finish before go to bed. Otherwise, you will read book or watch TV as you like! In programming, [...]

PHP Operators

Friday, October 15th, 2010

There are many operators used in PHP. Operators are used to operate on values. Below are the operators used in PHP Arithmetic Operators Operator Description Example Result + Addition x=3 x+3 6 – Subtraction x=4 9-x 5 * Multiplication x=5 x*7 35 / Division 15/3 7/2 5 3.5 % Modulus (division remainder) 7%2 12%8 6%2 [...]