Breaking News

PHP Tutorial

What is PHP?

PHP, which is recursive acronyms for “PHP Hypertext Preprocessor”, is a server-side, HTML embedded scripting language used to create dynamic Web pages. Much of its syntax is borrowed from C, Java and Perl with some …

Read More »

Why PHP?

Why PHP? it’s no secret that there are alternatives to PHP: ASP, JSP, Cold Fusion, and Perl, to name just a few. While each of these languages has differences in syntax and structure, when it …

Read More »

Where do PHP Stands?

No doubt much of its popularity is due to its relative ease to learn, and its notorious looseness. Arrays and variables in PHP are able to hold any type of object, variables need not be …

Read More »

Pre-requisite In PHP

If you choose PHP as your development language, what you need to get started depends on:   • Sound knowledge of HTML. *   • Working knowledge of JavaScript(optional, but strongly recommended) **   • …

Read More »

Choosing an Editor In PHP

On Linux   Bluefish – Supports any protocol that is supported by GNOME VFS. (FTP, SSH…)   gedit – gedit is a free software, UTF-8 compatible text editor for the GNOME desktop environment. It is …

Read More »

Testing your Environment In PHP

While there’s nothing wrong with getting started writing PHP scripts sing no-frills editors such as Windows Notepad or vi, chances are you’re soon going to want to graduate to a full-fledged PHP-specific development solution. Several …

Read More »

First PHP script

First PHP script Every language has it… First PHP script the basic “Hello, World!” script. It is a simple script that only displays the words“Hello, World!”. Over the years this has become the traditional phrase …

Read More »

PHP Syntax

PHP Syntax You cannot view the PHP source code by selecting “View source” in the browser – you will only see the output from the PHP file, which is plain HTML. This is because the …

Read More »

PHP comments

When programming in any language the process of adding comments involves writing notes alongside the code to describe what the code does and how it works. The comments are ignored by the PHP pre-processor when …

Read More »

PHP Operators

There are three types of operators. Firstly there is the unary operator which operates on only one value, for example ! (the negation operator) or ++ (the increment operator). The second group are termed binary …

Read More »

PHP Execution Operator

All of the operators we have looked at so far are similar to those available in other programming and scripting languages. With the execution operator, however, we begin to experience the power of PHP as …

Read More »

PHP Variables

Variables are used for storing values, such as numbers or strings , so that they can be used many times in a script.   A large part of writing scripts, and programming, involves the handling …

Read More »

PHP String

A string variable is used to store and manipulate a piece of text.   Working with Strings   String variables are used for values that contains character strings. In this tutorial we are going to …

Read More »

PHP Arrays

An array is a data structure that stores one or more values in a single value. For experienced programmers it is important to note that PHP’s arrays are actually maps (each key is mapped to …

Read More »