Functions in PHP | PHP Functions
What is function in PHP? : A function is a way of wrapping up a portion of code and giving that code portion name, so that you can use that…
Array in PHP | PHP Array
An array is a kind of special variable having more than one value which shares same name but different index or id. What is an array in PHP? An array…
Loops in PHP | Control Structure in PHP
1. While Loop in PHP : Syntax : while(expression) { Statements to be executed; } It executed the nested statements repeatedly as long as the while expression evaluates to TRUE.…
Control Structures in PHP | Decision Making in PHP
The if, and construct are one of the most important features of many languages including PHP, these conditional statements provides you different action for the different conditions. IF Statement in PHP :…
Operators in PHP | PHP Operators
Operators in PHP | PHP Operators There are three types of operators: Firstly there is the unary operator which operates on only one value. (For Example, ++ increment operator) The…
Variables in PHP | PHP Variables
Variables in PHP : Variables in PHP are represented by a dollar sign followed by the name of the variable. The variable name is case sensitive. ($a and $A are…
First PHP Script | First PHP Program
Some important things to know before starting first PHP script : A PHP file contains tags of HTML and some code of PHP script. A PHP script always starts with…
What is phpinfo() ? | phpinfo()
phpinfo() function provides large amount of information regarding the current state of PHP. This function gives information regarding version of PHP, PHP environment, OS version, compilation and extensions options, local…
PHP and MySQL Combination | PHP & MySQL
PHP and MySQL combination : In earlier post, we saw how set up environment for PHP. In that we saw that we used WAMP server WAMP : Windows ,…
Setting Up the Environment for PHP | PHP Tutorial
Before starting PHP, we have to set environment for it. PHP is available for almost all platform. To set up the environment for PHP you need three components must be…