home / developersection / category
Static method in PHP is very useful features. Static function and variable breaks a lot of power available to 0bject oriented programming. These metho
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:
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
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 is the process of catching error and then taking appropriate action. When you create web application error handling is an important part.
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
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_
$_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
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
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
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
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