category

home / developersection / category

Static Method and variable
php 18-Jun-2016
Static Method and variable

Static method in PHP is very useful features. Static function and variable breaks a lot of power available to 0bject oriented programming. These metho

How to create database in MySQL using PHP?
php 13-Jun-2016
How to create database in MySQL using PHP?

The CREATE DATABASE statement is used to create database. (Note: Before creating database you must first connect with database server).Here is an example to create database using PHP:

Exception Handling in PHP
php 10-Jun-2016
Exception Handling in PHP

Exceptions are important to control over error handling Exception handlings are used to change the execution of a code if a specified error occurs.Her

File Inclusion in PHP
php 09-Jun-2016
File Inclusion in PHP

In PHP you can include the content of one file into another file. This will help in creating function, footers header or elements that can be used in several pages.

Error Handling in PHP
php 09-Jun-2016
Error Handling in PHP

Error handling is the process of catching error and then taking appropriate action. When you create web application error handling is an important part.

Session in PHP
php 08-Jun-2016
Session in PHP

A session is used to store information in variables. These php variables are used to store user information to be used across multiple pages. Unlike a

PHP String Function
php 07-Jun-2016
PHP String Function

Here we will look on some of the function of strings:strlen()To get the length of the string.example: $t="hello"; echo strlen($t); Result: 5 str_

File Upload in PHP
php 07-Jun-2016
File Upload in PHP

$_FILES is a superglobal variable in PHP. It consists of 5 variable:  $_FILES[‘file’][‘tmp_name’] – the uploaded file in the temporary directory on t

File Handling in PHP
php 07-Jun-2016
File Handling in PHP

fopen() function is used to open a file, but in PHP same function is used to create a file. If you use fopen() on a file that does not exists, it will create that file. It has two parameter

What is a cookie?
php 07-Jun-2016
What is a cookie?

A Cookie is a text file that the server embeds on the user’s computer. A cookie is used to identify a user. These cookies are also used for tracking p

Functions in PHP
php 06-Jun-2016
Functions in PHP

In the previous post, we discussed the loop in phpform handling in php. In this article we will talk about function in php.A function is a piece of co

Sorting of an array in PHP
php 06-Jun-2016
Sorting of an array in PHP

In PHP there are some sorting function .These function are used to sort the array. sort() :This function is used to sort in ascending alphabetical or