PHP

How to use foreach in PHP

Foreach is one of the very commonly used codes in PHP.  In web development we usually work on database a lot and we need to create array a lot on online processing. So it is quite normal that a lot of array will generate in this process and…

Array formation in PHP

We have talked about array in one of our previous articles. But we gave very little information about array in this programming language. In this article we will discuss the array in detail. Array is one of the most important kinds of…

Simple Hello world program using PHP

As we all know this programming language is almost similar to C and C++. The only difference is C and C++ works on any platform and PHP is a server side scripting and works on only servers that can compile PHP on both windows and Linux base…

Basics of PHP language

On this post we will learn about the basics of PHP language. The is one of the most important part where we will get the idea about how we should design our coding for a better performance. So let’s start from here. The most basic parts…

Introduction to PHP programming

Before we start with PHP programming we need to know few things about PHP programming language. First of all it is a server side programming language. So it works with a server where we have to install a PHP compiler. Usually it works with…