PHP Lesson 3: Arithmetic Operators

In PHP Lesson 3: Arithmetic Operators we will be studying the PHP support for mathematical operations. Arithmetic Operators are used to perform certain mathematical operations like Addition, Subtraction, Multiplication, Division, Modulus...

Getting Data from MySql table in php

Fetching data from MySql server is a major factor in any kind of dynamic websites development. MySql makes it very easy.For fetching data from MySql server we must have to be...

PHP Introduction and WAMP Installation on Windows

PHP Introduction and WAMP Installation on Windows:  PHP is a general purpose open source server side scripting language. It is originally built for web development. It is an interpreted language and can...

Numeric Array in PHP

Numeric arrays can store numbers, strings and any object but their index will be represented by numbers. By default array index starts from zero. In other words, we can say arrays...

Sending Emails in PHP

Sending emails in PHP is very easy. You can use PHP mail function for this purpose. Lets write a simple program which will send an email. <?php $to = 'contact@testemail.com'; //Email address to...

Reading a CSV file in PHP

CSV files have data in the comma separated format. This data format is generally used for importing / exporting data. Reading a CSV file in PHP is very easy and can...

Student Registration Project in PHP

In this Student Registration Project we are providing a form in simple html to the student and that form sends the data to "student.php" file where the data is processed and...

PHP 5.4

PHP 5.4 release is announced on March 1 officially which is a major release in 5.x series.  PHP 5.4 has major new features summarized below. 1) Built in Web Server: Started from PHP...

Find file extension in PHP

In this article we will be studying how to find file extension in php. While coding in php or any other programming languages and dealing with the files, we may need...