php

PHP Introduction

If you want to build a dynamic website, or a shopping cart, or may be your own blog system, then you’ve got to learn a specific server side programming  language and in my personal opinion, PHP would be the best choice. So, what is PHP? To your answer…. PHP is a …

PHP Introduction Read More »

PHP Installation

To install PHP on your system, you can follow any one of these approaches You can either get PHP along with the packages like WAMP Server, XAMPP etc. You can install PHP directly from internet if you already have a testing server installed. First let us understand what these packages …

PHP Installation Read More »

PHP Syntax

Every PHP script executes on a server. When the server process the script, it sent back the output in the form of plain HTML to the browser <?php //Your PHP code ?> Note: You can write your code in a text editor. There are various text editors for PHP like sublime text, …

PHP Syntax Read More »

PHP Variables

A variable can be considered to be a sort of container to store some value or information, just like we use a bucket or drum to store water! At times, there is a need to store some values or information for future usage in programming. For this purpose we use variables. …

PHP Variables Read More »

PHP Comments

A comment in php is a line or a couple of lines which is not executed by the php interpreter. PHP supports both single line comments and multi line comments. Comments are pretty useful when writing code in PHP. Comments in PHP can be used to – Let other people …

PHP Comments Read More »

PHP Data Types

Data type is the type of the data a variable is storing. PHP has different datatypes mentioned as follows – Datatypes in PHP can be broadly categorized in three categories – Scalar types They can hold only one value at a time. They further are of four types – Integer …

PHP Data Types Read More »

PHP Constants

In PHP, a constant is like a variable except for one fact its value cannot be changed once it has been created. A valid constant name can be started with a letter or an underscore(_). There is no need to put the dollar sign($), as we do with a variable. …

PHP Constants Read More »