Before we can start coding you first need to know some basics. In this PHP language introduction tutorial you’ll find some descriptions of words you should know before you can start coding. Of course we will also look at where you can download PHP, MySQL and Apache. More »
In this PHP programming language tutorial we will look at variables. A variable is used to store information or values in, like text-strings, numbers or arrays. As long as you don’t remove the value in a variable then you can use the variable (thus the value) over and over again. More »
In this PHP programming tutorial we will look at common string functions. String variables are used to store and manipulate text.
In the PHP script below we assign the text “Hello everybody” to a string variable $my_string and print the content of the variable: More »
In this PHP programming tutorial we will look at PHP operators. An operator is something that can be used to do operations on values to get a new value. We will look at: Arithmetic, Assignment, Logical, Comparison and Concatenation (string) Operators. More »
Posted in PHP Tutorials | Comments Off on PHP Tutorial – Operators
Just as the PHP language “if…else” statement, you can use the “switch” statement to alter the flow of a program. In other words; conditional statements are used to perform actions on different conditions. The switch statement is used to select one of many blocks of code to be executed. More »
Posted in PHP Tutorials | Comments Off on PHP Tutorial – Switch Statement
In this PHP programming tutorial we will take a look at the “if else statement” (the PHP “switch statement“ can be found here.) Conditional statements (such as “if else” or “switch”) are used to alter the flow of a program if a specific test condition is true. More »
In this PHP language tutorial we will take a look at arrays in PHP. A normal variable holds only one value. An array is different. An array lets you declare and work with a collection of values.
If you would use normal variables to store for instance a list of names it would look something like this: More »
The PHP language has four different kinds of conditioned loops. In this PHP tutorial we will look at the “while” loop. Loops are used to execute a block of code multiple times.
In PHP, we have the following loop statements: More »
Posted in PHP Tutorials | Comments Off on PHP Tutorial – While Loops