Article List of Web Development

Python Training Institute in Delhi NCR

Do you want to become a Programmer? If yes, what is Python and why use it? You should know about this. Most people interested in coding languages know little about Python because it is a high-leve

View Full Story

JAVA Training in Noida

Best Java Training Institute in Delhi NCR   Friends, do you also want to learn Java?… So before this it is important to know in detail what Java Programming is, Java is both a Genera

View Full Story

PHP Training Institute in Noida

Best PHP Training Intitute in Delhi NCR What is PHP and Why should you do PHP training ? The full name of PHP is PHP: Hypertext Preprocessor. It is the only Open Source Scripting language in the

View Full Story

PHP the Static Keyword with Examples

Normally, when a function is completed/executed, all of its variables are deleted. However, sometimes we want a local variable NOT to be deleted. We need it for a further job.    &nb

View Full Story

PHP Boolean Tutorial with Examples

The is_bool() Function in PHP is used to  find whether a variable is a Boolean or not. It returns a Boolean value true if the parameter var is a Boolean else it returns false. Syntax  

View Full Story

About php

PHP is stands for Hypertext Pre-processor. PHP is a popular general-purpose scripting language that is specially suited to Web Development. PHP is primarily used to develop dynamic web pages that

View Full Story

PHP Installation with Examples

To run PHP scripts on any machine (server, computer etc) we need to install Php on it. In this Article you will learn about how to install PHP. You can download the application by visiting the offi

View Full Story

PHP Syntax With Examples

In this Article we can see basic syntax of PHP Language. To write PHP Code we can use any code editor (like notepad, Sublime Text, Visual Studio Code). All the php code in a php script should be encl

View Full Story

PHP Comments

PHP comments can be used to describe any line of code so that other developers can understand the code easily. It can also be used to hide any code and code cannot be executed. PHP supports singl

View Full Story

PHP Variables

PHP variables are characters that stores value or information such as text or integers in your code. In PHP variables are usually represented by a dollar sign ($). Those variables can hold or stor

View Full Story

PHP Variable Scope

Variable Scope is an accessible area / portion for any variable where a variable can be accessed after it has been defined. There are mainly three types of variables Scopes: Local Variable

View Full Story

Echo and Print Statement

If there is an input then it must have an output. So, in PHP also there is two statements which are used for displaying output data to the screen echo print Both the statement is used for

View Full Story

PHP Advanced

Previous we can already cover  the core php basics. Our advanced PHP concepts provides you advance Php topics, tools, and advice that is technical to utilize them to develop secure, perfo

View Full Story

PHP Date and Time Tutorial

Dates are so much part of everyday life that it becomes easy to work with them without thinking.  PHP provides us with many functions for date and time but the most common and generally

View Full Story

PHP Include

PHP allows us to create various elements and functions, which are used several times in many pages. It takes much time to script these functions in multiple pages. Therefore, use the concept of f

View Full Story

PHP Echo and Print Statement

If there is an input then it must have an output. So, in PHP also there is two statements which are used for displaying output data to the screen echo print Both the statement is used for

View Full Story

PHP Data Types

PHP data types are used to hold different types of data or values.  PHP supports the following data types: String Integer Float Boolean Null &

View Full Story

PHP Arrays with Examples

PHP Arrays are a collection of variables, which stores multiple values of same or different datatype at a time.         In PHP, the array () function is used to creat

View Full Story

PHP Indexed Array

An indexed or numeric array stores each array element with a numeric index.  There are mainly two ways of creating Indexed array: First way: Second way: Indexed array Example:

View Full Story

PHP Associative Array

Associative array will have their index as string. Associative array depends on the key and value (=>) method. In the associative array, key assign to values. There are two ways to create an Ass

View Full Story

PHP Multidimensional Array

A multidimensional array is an array which stores another array at each index rather than storing a single value. In simple words, a multidimensional array is an array of arrays. Example:

View Full Story

PHP Sorting Array

It is useful to sort related data which is stored in an array alphabetical or numerical order, descending or ascending. Some Sorting Array functions: sort () - sort arrays in ascending o

View Full Story

PHP Objects with example

Classes and objects are the two main aspects of object-oriented programming.this is a programmer-defined data type, which includes local functions as well as local data. You can think of a class as a

View Full Story

PHP Null Value with Examples

Null represents no value; this is a special data type which don’t assign any value to variable. Null means no value. Null is not 0, false or any other value, it is null. Null is case-

View Full Story

PHP Math Tutorial with Examples

The Math functions are inbuilt functions in php.The basic role of these functions is to provide a mechanism in which a developer can do some sort of math calculations  he range of these php ma

View Full Story

PHP Constant

A constant is an identifier for a simple value.Constants in PHP are just like variables, but in case of constants, you can not redefine/undefine once you defined a constant in PHP scrip

View Full Story

PHP Operators

Operators are symbols that tell the PHP processor to perform certain actions. The expression 5 – 1 is equal to 4. Here 5 and 1 are called operands and – is called the operator.&n

View Full Story

PHP Overview

This section contains a complete PHP reference documentation. PHP Reference The PHP reference contains different categories of all PHP functions, keywords and constants, along with examples.

View Full Story

PHP Calendar

                                                        &nbs

View Full Story

PHP Date

In this tutorial we lean about PHP Date and the type of calendar function We will learn these PHP Date function upcoming tutorails. PHP Date/Time Functions: Functio

View Full Story

PHP Error

PHP Error For upcoming next tutorials we are going studying  about PHP Error and there functions. The PHP Error function  are used to deal with error handling and logging.

View Full Story

PHP File System Tutorial

This tutorial deals with the opening , closing, reading and writing of file. There are dedicated function for performing these operations in PHP. In order to open a file, fopen() can be used. Calling

View Full Story

PHP FTP

                             Define : For upcoming tutorials we have to learned about PHP FTP functions.The function in

View Full Story

PHP JSON

PHP Json : A common use of JSON is to read data from a web server, and display the data in a web page. PHP allows us to encode and decode JSON by the help of json_encode() and json_decode functi

View Full Story

PHP Keywords

These words have special meaning in PHP. Some of them represent things which look like functions, some look like constants, and so on - but they're not, really: they are language constructs. The f

View Full Story

PHP Libxml

libxml is a library (hence lib) of tools that let you work with parser functions in PHP. The newest version, called libxml2, was introduced at the beginning of 2019. In this article, we will review it

View Full Story

PHP Mail

PHP must be configured correctly in the php.ini file with the details of how your system sends email. Open php.ini file available in /etc/ directory and find the section headed [mail function]. Window

View Full Story

PHP If-Else Statement

PHP If Else statement is a conditional statement,If else statement is used to perform an action if a single condition is true and to perform another action if that condition is false. Syntax:

View Full Story

PHP Misc

These functions were placed here because none of the other categories seemed to fit. Installation There is no installation needed to use these functions. These functions are part of the PHP core

View Full Story

PHP Mysqli

The MySQLi extension was introduced with PHP version 5.0.0 and the MySQL Native Driver was included in PHP version 5.3.0. i stands for improved in MySQLi and provides various functions to access the M

View Full Story

PHP Network

PHP Network Introduction The Network functions contains various network function and let you manipulate information sent to the browser by the Web server, before any other output has been sent.

View Full Story

PHP Output Control

There are times when you need to control the PHP output buffer. Shortcodes are a good example of when you want to capture the buffer and return it to WordPress instead of sending it out to the browser

View Full Story

PHP Regex Tutorial

Regular expressions are nothing more than a sequence or pattern of characters itself. They provide the foundation for pattern-matching functionality. Using regular expression you can search a particul

View Full Story

PHP Simple XML

SimpleXML is a tree-based parser. SimpleXML provides an easy way of getting an element's name, attributes and textual content if you know the XML document's structure or layout. SimpleXML turn

View Full Story

PHP Stream 

You’ve already used PHP streams in your PHP development. However, they’re transparent, so you may not have noticed them. Streams are powerful tools. In this article, you’ll learn to

View Full Story

PHP String

PHP string is a sequence of characters i.e., used to store and manipulate text. PHP supports only 256-character set and so that it does not offer native Unicode support. There are 4 ways to specify a

View Full Story

PHP Zip

ZIP is an archive file format that supports lossless data compression. A ZIP file may contain one or more files or directories that may have been compressed. The PHP ZipArchive class can be used to zi

View Full Story

PHP Timezone

The date_default_timezone_set() function is an inbuilt function in PHP which is used to set the default timezone used by all date/time functions in a script. This function returns False if the timezon

View Full Story

PHP Cookies Tutorial

PHP cookies are a small piece of information or small file with the maximum size of 4KB which is stored at the client browser.   Tracking some information of the user in the cookie browser

View Full Story

PHP Sending Emails 

Introduction PHP comes with a default function mail() that allows you to sendmail directly from a PHP script. Here in this tutorial, we will be talking about the prerequisites to sending a mail dir

View Full Story

PHP Sessions Tutorial

Sessions in PHP are used to store information on the server. Data is available on all the pages in an application, a session is the best way to keep the information used in many pages. Session is u

View Full Story

PHP Coding Standard

Every company follows a different coding standard based on their best practices. Coding standard is required because there may be many developers working on different modules so if they will start inv

View Full Story

PHP Complete Form 

 In HTML form when the user click on submit button.to checked that all fields entered correctly,In php script all html input element inserted in each field named: name, email, and website. In rem

View Full Story

PHP Login Logout

Introduction I am assuming here that you are familiar with HTML and CSS. I have commented the code with the necessary information in the major part of the code. So you can understand easily. I have

View Full Story

PHP Facebook Login 

Nowadays the web users are not interested in filling a big form for registration on the website. The short registration process helps to get more subscribers to your website. Login with Facebook is a

View Full Story

PHP Gmail Login 

n this article, I’m going to explain how to integrate Google login in your PHP website. We’ll use the Google OAuth API, which is an easy and powerful way to add Google login to your site.

View Full Story

PHP Paypal Integration

Being an online store owner, you can integrate PayPal in PHP applications within minutes. You can accept payments via plugins, addons, extensions, or manually via the framework-based applications. Wit

View Full Story

PHP Payment Gateway Integration 

In the time of a global pandemic, a smoothly functioning payment gateway is key to operating a business with a substantial online presence. If you are already using an ecommerce software like BigComme

View Full Story

PHP Core Vs PHP FrameWorks

PHP has been a cornerstone of web development for a long time. The LAMP stack (Linux, Apache, MySQL, and PHP) is still a frequently used part of web development, and it is something that people tend t

View Full Story

PHP Design Patterns

PHP Design patterns have proven to be extremely useful to developers and is a major problem solver. To write efficient code, developers must follow best practices. PHP Design patterns is an Object-ori

View Full Story

PHP Decision Making 

PHP allows us to perform actions based on some type of conditions that may be logical or comparative. Based on the result of these conditions i.e., either TRUE or FALSE, an action would be performed a

View Full Story

PHP Loop with Example

A Loop is an Iterative Control Structure which requires a number of times until a given condition is met to perform the same number of codes. Sometimes when you write code, you would like a number of

View Full Story

PHP While Loop with example

PHP While Loop executes a block of code to be executed until the condtion is true. Syntax : while (condition) {     block of code; } Here are following steps to execute while

View Full Story

PHP Error Handling 

When creating scripts and web applications, error handling is an important part. If your code lacks error checking code, your program may look very unprofessional and you may be open to security risks

View Full Story

PHP Bugs Debugging

Programs rarely work correctly the first time. Many things can go wrong in your program that cause the PHP interpreter to generate an error message. You have a choice about where those error messages

View Full Story

PHP Pagination 

PHP is mostly used to store and display data from a database. Pagination can be done with ajax, but here this is done with non-ajax. In this tutorial, we will learn the pagination in PHP with MyS

View Full Story

PHP Header ()

The header() function is an inbuilt function in PHP which is used to send a raw HTTP header. The HTTP functions are those functions which manipulate information sent to the client or browser by the We

View Full Story

PHP unset() Function

unset() destroys the specified variables. The behavior of unset() inside of a function can vary depending on what type of variable you are attempting to destroy. If a globalized variable is unset() in

View Full Story

PHP Error Types

An error is a type of mistake. We can say an error is a condition of having incorrect or false knowledge or an error is defined as an unexpected, invalid program state from which it is impossible to r

View Full Story

PHP Print_r Function

PHP print_r() is a built-in function that displays information about a variable in a human-readable way. It shows the information stored in a variable, which is easily understandable to the user. T

View Full Story

PHP Do While Loop with Example

Do .. While is used in PHP to provide a control condition. The do..while statement will execute a block of code and then test the condition for next iteration and executes next only if

View Full Story

PHP For Loop with Examples

The for loop are the most complex loops in PHP.The “for loop” is used when the developer has a clear idea about the number he wants to execute a block of code. The number of requ

View Full Story

PHP Foreach Loop Tutorial

The ForEach Loop is mainly used for Looping through each key/value pair in an Array..You can define two parameter inside foreach separated through "as" keyword. First parameter must be

View Full Story

PHP Functions in details

Functions are shortcuts for commonly used chunks of code. They make programming much easier because you don’t have to re-use long code snippets.A function is a particular piece of code, which do

View Full Story

PHP Global Variables with Example

Global Varibales are "Superglobals"  which can be accessed anywhere in your script, whether inside or outside a any function, class or file without having to do anything special.

View Full Story

PHP $Globals with Examples

PHP $GLOBALS is the only superglobal that does not begin with an underscore (_). It is an array that stores all the global scope variables.$ GLOBALS is a composition that contains an array of all glob

View Full Story

PHP Superglobal - $_SERVER with Examples

$_SERVER is one of the supergobal variables.$_SERVER is an array which holds information of headers, paths, script locations. Web server creates the entries in the array. This is not assured that ever

View Full Story

PHP Isset() Function 

The isset() function is an inbuilt function in PHP which checks whether a variable is set and is not NULL. This function also checks if a declared variable, array or array key has null value, if it do

View Full Story

PHP Booval()

The boolval() function is an inbuilt function in PHP which gives the Boolean value for a given expression. Syntax: boolean boolval( $expr ) Parameter: This function accepts only one paramet

View Full Story

PHP debug_zval_dump Tutorial

debug_zval_dump (PHP 4 >= 4.2.0, PHP 5, PHP 7) debug_zval_dump — Dumps a string representation of an internal zend value to output Description debug_zval_dump ( mixed

View Full Story

PHP doubleval Function Tutorial

PHP | doubleval() Function The doubleval() is an inbuilt function in PHP which is used to get a float value of a variable. This function is an alias of floatval(). Syntax: doubleval (

View Full Story

PHP is_countable() Function

The is_countable() function is an inbuilt function in PHP which is used to check whether the content of the variable is countable or not. Syntax: bool is_countable ( mixed $var ) Parameters

View Full Story

PHP empty() Function

The empty() function is an inbuilt function in PHP which is used to check whether a variable is empty or not. Syntax: bool empty ( $var ) Parameter: This function accepts a single pa

View Full Story

PHP floatval() Function

The floatval() function is an inbuilt function in PHP which returns the float value of a variable. Syntax: float floatval ( $var ) Parameters: This function accepts one parameter whi

View Full Story

PHP get_defined_vars() Function

The get_defined_vars() function is an inbuilt function in PHP which is used to returns an array of all defined variables. This function returns a multidimensional array which contains all the list of

View Full Story

PHP get_resource_type Function

Definition and Usage The get_resource_type() function returns the type of a resource. Syntax string get_resource_type ( resource $handle ) Parameters If the given handle 

View Full Story

PHP gettype() Function

The gettype() function is an inbuilt function in PHP which is used to get the type of a variable. It is used to check the type of existing variable. Syntax: string gettype ( $var ) Parame

View Full Story

PHP intval() Function

The intval() function is an inbuilt function in PHP which returns the integer value of a variable. Syntax: int intval ( $var, $base ) Parameters: This function accepts two parameters

View Full Story

PHP is_array() Function

Definition and Usage The function is_array() is used to check whether a variable is an array or not. Syntax bool is_array ( mixed $value ) Parameters Sr.No Parameter

View Full Story

PHP is_bool Function Tutorial

PHP is_bool() is an inbuilt function in php. The is_bool() function is used to find whether a variable is an a boolean or not. Syntax: boolean is_bool($variable_name) $variable_name:the varia

View Full Story

PHP is_callable() Function

The is_callable() function is an inbuilt function in PHP which is used to verify the contents of a variable can be called as a function. It can check that a simple variable contains the name of a vali

View Full Story

PHP is_double() Function

The is_double() function is an inbuilt function in PHP which is used to find whether the given value is a double or not. Syntax: bool is_double( $variable_name ) Parameters: This funct

View Full Story

PHP is_float() Function

Definition and Usage The is_float () function is used to test whether a variable is a float or not. Syntax bool is_float (mixed $value) Parameters Sr.No Parameter

View Full Story

PHP is_int() Function

Description The is_int () function is used to test whether the type of the specified variable is an integer or not. Version: (PHP 4 and above) Syntax: is_int(var_name) Paramet

View Full Story

PHP is_integer() Function

Definition and Usage The function is_integer() checks whether the type of a variable is integer. This function is an alias of is_int(). Syntax bool is_integer ( mixed $value ) Par

View Full Story

PHP Iterables Tutorial

Iterables were introduced in PHP 7.4 as pseudo-types. These are not actual types and are only used to represent items that may be iterated on, like arrays or objects. Any item said to be an iterabl

View Full Story

PHP is_long() Function

Description The is_long() function is used to test whether the type of the specified variable is an integer or not. The function is an alias of is_int(). Version: (PHP 4 and above) Sy

View Full Story

PHP is_null Function Tutorial

Definition and Usage The function is_null() checks whether the variable is null. Syntax bool is_null ( mixed $value ) Parameters Sr.No Parameter & Descripti

View Full Story

PHP is_numeric() Function

The is_numeric() function in the PHP programming language is used to evaluate whether a value is a number or numeric string. Numeric strings contain any number of digits, optional

View Full Story

PHP is_object() Function

Definition and Usage The function is_object() verifies whether a variable is an object. Syntax bool is_object ( mixed $value ) Parameters Sr.No Parameter Descrip

View Full Story

PHP is_real() Function

The is_real() function is an inbuilt function in PHP which is used to check the given value is a real number or not. Syntax: bool is_real( mixed $var ) Parameters: This funct

View Full Story

PHP is_resource() Function

Definition and Usage The function is_resource() checks whether a variable is a resource. Syntax bool is_resource ( mixed $value ) Parameters Sr.No Parameter & De

View Full Story

PHP is_scalar() Function

Definition and Usage The function is_scalar() whether a variable is a scalar. Scalar variables are those containing an int, float, string or bool. Types array, object and resource are not scal

View Full Story

Php is string function

Definition and Usage The function is_string() verifies whether the type of a variable is string. Syntax bool is_string ( mixed $value ) Parameters Sr.No Parameter &a

View Full Story

PHP serialize() Function

The isset() function is an inbuilt function in PHP which is used to determine if the variable is declared and its value is not equal to NULL. Syntax: bool isset( mixed $var [, mixed

View Full Story

PHP settype() Function

PHP | settype() Function The settype() function is a built-in function in PHP. The settype() function is used to the set the type of a variable. It is used to set type or modify type of an existi

View Full Story

PHP strval tutorial Function

PHP | strval() Function The strval() function is an inbuilt function in PHP and is used to convert any scalar value (string, integer, or double) to a string. We cannot use strval() on arrays or on

View Full Story

PHP unserialize() Function

In PHP, the complex data can not be transported or can not be stored. If you want to execute continuously a complex set of data beyond a single script then this serialize() and unserialize() functions

View Full Story

PHP Var Dump Function

Introduction   In this article, I will explain the "var_dump" variable handling function in PHP. The var_dump() function dumps information about a variable. It displays structured

View Full Story

PHP var_export() Function

The var_export() is a built-in function in PHP which is used to return the structured value(information) of a variable that is passed to this function as a parameter. This function is similar to the&n

View Full Story

PHP preg_filter() Function

The preg_filter() function is an inbuilt function in PHP which is used to perform a regular expression search and replace the text. Syntax: preg_filter( $pattern, $replacement, $subject, $limi

View Full Story

PHP preg_grep() Function

Syntax array preg_grep ( string $pattern, array $input [, int $flags] ); Definition and Usage Returns the array consisting of the elements of the input array that match the given pattern.

View Full Story

PHP preg_last_error() Function

Definition and Usage The preg_last_error() function returns an error code for the most recently evaluated regular expression. The returned value will match one of the following constants:

View Full Story

PHP preg_match() Function

This function searches string for pattern, returns true if pattern exists, otherwise returns false. Usually search starts from beginning of subject string. The optional parameter offset is used to spe

View Full Story

PHP preg_match_all() Function

Definition and Usage The preg_match_all() function matches all occurrences of pattern in string. It will place these matches in the array pattern_array in the order you specify using the optiona

View Full Story

PHP preg_replace() Function

The preg_replace() function is an inbuilt function in PHP which is used to perform a regular expression for search and replace the content. Syntax: preg_replace( $pattern, $replacement, $subje

View Full Story

PHP preg_split() Function

The preg_split() function is an inbuilt function in PHP which is used to convert the given string into an array. The function splits the string into smaller strings or sub-strings of length which is s

View Full Story

PHP preg_quote() Function

Definition and Usage The preg_split() function operates exactly like split(), except that regular expressions are accepted as input parameters for pattern. If the optional input parameter limit

View Full Story

PHP Download File 

There are many approaches to download a file from a URL some of them are discussed below: Method 1: Using file_get_contents() function: The file_get_contents() function is used to read a

View Full Story

PHP chdir() Function

Definition : In php  chdir() Function is inbuilt function.The chdir() function in PHP used to change PHP’s current directory to new directory path. It takes only a single argum

View Full Story

PHP Form Handling

When the developers reate forms to take input from users, like a Login form or a Registration form.Creating a form on the webpage or web-based application is complete by using HTML. In PHP sub

View Full Story

PHP Compiler

Write, Run & Share PHP code online using OneCompiler's PHP online compiler for free. It's one of the robust, feature-rich online compilers for PHP language, running on the latest version 7

View Full Story

PHP Quiz

Following quiz provides Multiple Choice Questions (MCQs) related to PHP. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then y

View Full Story

PHP Exercises 

Description: Write a Program to display count, from 5 to 15 using PHP loop as given below. Rules & Hint You can use “for” or “while” loop You can use variable t

View Full Story

PHP Certificates

One of the most popular coding languages that web designers and developers use is PHP. Earning a certification in this coding language can make you more hirable and increase your earning potential. If

View Full Story

PHP Reference

For upcoming tutorials we can learn complete topics and subtopics are given below : PHP Reference PHP Overview PHP Array PHP Calendar PHP Date PHP Directory PHP Error PHP Exce

View Full Story

PHP AJAX Intro

AJAX is a web development technique for creating interactive web applications. If you know JavaScript, HTML, CSS, and XML, then you need to spend just one hour to start with AJAX.AJAX, short for A

View Full Story

PHP AJAX Database

AJAX can be used for interactive communication with a database. Example Explained - The MySQL Database The database table we use in the example above looks like this: id First

View Full Story

PHP AJAX XML

AJAX can be used for interactive communication with an XML file. The example will demonstrate how a web page can fetch information from an XML file with AJAX. This file is saved as axml.php. AJAX a

View Full Story

PHP AJAX Live Search

AJAX can be used to create more user-friendly and interactive searches.In this article I will show you, how to read an xml file using with AJAX. Let’s have an example, how to read links from

View Full Story

PHP Form Validation

In HTML form contains a number of inputs: text fields, a radio button, a multiple-option select list, a checkbox, and a submit button. These inputs will be validated to ensure that the user has s

View Full Story

PHP Form Required

In PHP form validation rule table,we can see Name", "E-mail", and "Gender" fields are required. These fields cannot be empty and must be filled out in the HTML form.

View Full Story

PHP Form URL/Email

Form Validate Email :A valid email must contain @ and . symbols. PHP provides various methods to validate the email address. Here, we will use regular expressions to validate the email address. For

View Full Story

PHP AJAX Poll

AJAX polling script is used for getting user perception (vote result) about any research, Ajax is used to return the results from this poll to your browser. The following example will demonstrate a

View Full Story

Php Other

If you disregard the above warning, please also note that the IANA timezone database that provides PHP's timezone support uses POSIX style signs, which results in the Etc/GMT+n and Etc/GMT-n time

View Full Story

MySQL Database

It is very important to understand the database before learning MySQL.A database is a structured collection of data. It may be anything from a simple shopping list to a picture gallery or the vast amo

View Full Story

MySQL Connect

For Connecting databse with php your local server you can use xampp server : Learn how to install Xampp server in local computer to check this link https://www.webdesigninghouse.com/

View Full Story

MySQL Create DB

PHP Create a MySQL Database : The "CREATE DATABASE db_name" command is used to create a database in MySQL. To learn more about PHP & MySQL database, we will create a Data

View Full Story

MySQL Create Tables

Know about What is table ? A table is a set of data elements using a model of vertical columns and horizontal rows, the cell being the unit where a row and column intersect.. A table has a specifie

View Full Story

MySQL Data Interting

To previous tutorials we have  learned how to  Create database and create table.Now it's time to create some tables inside the database that will actually hold the data. A table organize

View Full Story

MySQL Get Last ID

Get ID of The Last Inserted Record In table an unique ID for the AUTO_INCREMENT column each time you insert a new record or row into the table. However, there are certain situations

View Full Story

MySQL Insert Multiple

PHP MySQL Insert Multiple Records: Insert is the process of inserting data into the table. INSERT statement adds new rows into already present table. The present chapter “PHP Insert Mult

View Full Story

MySQL Prepared

MySQL 8.0 provides support for server-side prepared statements. All major SQL database management systems like MySQL, MariaDB, Oracle, Microsoft SQL Server, and PostgreSQL support prepared statements.

View Full Story

MySQL Select Data Tutorial

In previous tutorials we have to learned create database,create table,insert data in table. Now it's time to retrieve data what have inserted in the preceding tutorial. The SQL SELECT statement i

View Full Story

MySQL Where

In previous tutorial SELECT statement is used to fetch data from MySQL table.now we can filter some data using WHERE condtion. In MySQL WHERE statment  is a keyword used to specify the exact c

View Full Story

MySQL Order By

In this tutorial we have to learn MySQLI ORDER BY statement .By using SELECT command results are returened in the same order the records where added into the database.this is bydefault sorting order.

View Full Story

MySQL Update Data

In previous tutorials we have to learn about how to create database,create table,Insert data,Insert multiple data,data fetching from SELECT command .Now we have to learn how to update data in our reco

View Full Story

MySQL Limit Data

In this tutorial we can see how to retreive records in table and limit the number of records returned based on a limit value. The limit clause in Mysql is used to restrict the number of rows r

View Full Story

PHP XML

                                  XML is Extensible Markup Language. It is a markup language - much like HTML -

View Full Story

PHP XML Parsers

In PHP, parsing XML file is done using different extensions available.The PHP XML parser allows to read, create, update and manipulate XML documents. The XML language use to structure the sharing data

View Full Story

PHP Simple XML Parsers

The SimpleXML Parser : PHP SimpleXML extension lets you access and work with XML data. This parser is tree-based and provides an efficient method of getting the name of a specific element, a

View Full Story

PHP Simple XML-Get

The Simple xml GET is used for getting the node values from an xml file. Example Following example shows how to get data from xml. Hello.xml Hello.xml is an xml file, it can be accessed by

View Full Story

PHP XML Expat

The built-in XML Expat Parser makes it possible to process XML documents in PHP. What Expat yes? To read and update - create and process - an XML document, you need an XML parser. There are t

View Full Story

PHP XML DOM

The PHP DOM library allows you to manage HTML and XML after you upload your script into a new PHP DOMDocument. Parsing is an important concept referring to changing source code into a more easy-to-rea

View Full Story

PHP AJAX

                            AJAX is about updating parts of a web page, without reloading the whole page. AJAX = Asynchronou

View Full Story

PHP Open Read

fopen(): PHP fopen() function is used to open a file. First parameter of fopen() contains name of the file which is to be opened and second parameter tells about mode in which file needs to be opened,

View Full Story

PHP File Create Write

PHP Create file : In php fopen() function also used to create a file.It may seem a little confusing,lets understand this.   In PHP the fopen function is used to open files. H

View Full Story

PHP File Upload

Before you can use PHP to manage your uploads, you must first build an HTML form that lets users select a file to upload. See our HTML Form lesson for a more in-depth look at forms.  

View Full Story

PHP Filter

PHP filters are used to validate and sanitize external input. The PHP filters extension contains many functions needed to check user input, it is designed to make data validation easy and fast.

View Full Story

PHP Filters Advanced

Validate an Integer Within a Range : In this example to use filter_var() to check if a variable is both of type is Int and lies between 1 to 200: Output :Variable value is within the legal r

View Full Story

PHP Callbacks Functions

A callback function (often referred to as just "callback") is a function which is passed as an argument into another function. Any existing function can be used as a callback function. To

View Full Story

PHP Exceptions

Exception handling is almost similar in all programming languages. It changes the normal flow of the program when a specified error condition occurs, and this condition is known as exception. PHP

View Full Story

PHP OOP

PHP is a server-side programming language used for web development. Object-oriented programming in PHP helps developers build reusable and complex web applications. Object-oriented programming is a pr

View Full Story

What is PHP Oops Concept

                     Oops stands for "Object oriented programming". PHP introduced object-oriented programming features since versio

View Full Story

PHP Class and Object

Classes and objects are the two main aspects of object-oriented programming. Class: Class is a blueprint for any functional object, and it is defined by the programmer. It contains local m

View Full Story

PHP Constructor

Construct: The Constructor method is a special type of function called __construct within the class body.A constructor allows you to initialize an object's properties upon creation of the obj

View Full Story

PHP Destructor

Destructor is a special function. Destructor in PHP is similar to other oops(object oriented programming) concept.A destructor is called when the object is destructed or the script is stopped or exite

View Full Story

PHP Access Modifier

Access modifiers are object-oriented programming that is used to set the accessibility of classes, constructors, methods, and other members of php. Using the access modifiers we can set the scop

View Full Story

PHP Inheritance

Inheritance : Inheritance provides you with many benefits that make PHP programming a lot more convenient. One such benefit is code reusability. Reusability allows you to generate clean code and the r

View Full Story

PHP Constant in Oops

Constants are bits of data saved in the computer’s memory that can not be modified once they have been assigned. Constants declared within classes are known as class constants.A class constan

View Full Story

PHP Abstract Classes

 An abstract class is a class that contains at least one abstract method. An abstract method is a method that is declared, but not implemented in the code. When can define a class abstract using

View Full Story

PHP Interfaces

An interface is defined the same way as a class, except for the interface keyword. Interface methods are defined the same way as abstract methods except for the abstract keyword.Interfaces m

View Full Story

PHP Traits Tutorials

The main concept behind the traits is the reusability of the code. traits seems to be very useful in terms of code reusability for the language which supports only single inheritance. A trait

View Full Story

PHP Static Methods

Static methods can be called directly without needing an instance of the class (an object). And, $this-> pseudo-variable is not available inside static methods.However, you can access a s

View Full Story

PHP Static Properties

Static properties can be called directly - without creating an instance of a class.,Static properties are declared with the static keyword:,A class can have both static and non-static properties. A st

View Full Story

PHP Name Spaces

PHP Namespaces provide a way in which to group related classes,interfaces,functions and constants.Namespaces are way of encapsulating items. A namspace is like a folder or directory. In the PHP

View Full Story

PHP is_iterable()

Delhi long has been renowned for its handmade artistic works, such as ivory carvings and paintings, engravings, sculpture of various sorts, miniature paintings, jewelry, gold and silver brocades and e

View Full Story

PHP Object with Examples

The geographic position of Delhi on the great plain of India, where the Deccan plateau and the Thar Desert approach the Himalayas to produce a narrow corridor, ensures th

View Full Story

PHP String with Examples

The traffic-circulation pattern of Delhi was originally designed for a smaller population, and, with Delhi’s explosive growth, the system quickly became overburdened. Improvements to the road sy

View Full Story

PHP Numbers with Examples 

Although they are improving, mass-transportation facilities remain inadequate, with the principal means of public transport consisting of an ever-increasing fleet of buses. Long-distance commuting wit

View Full Story

PHP Operators with Examples

At the micro level is the national capital territory itself, which consists of three administrative bodies known locally as statutory towns—the Municipal Corporation of Delhi (MCD), the New Delh

View Full Story

PHP If Else Statements With Examples

The NDMC, which is an appointed body, is essentially responsible for New Delhi and its adjoining areas. The Cantonment Board consists of both elected members and appointed ex officio members; among it

View Full Story

PHP While Loop, with Examples 

The growth of the school system in the national capital territory generally has kept pace with the expansion of the city’s population. Primary-level education is nearly universal, and a large pr

View Full Story

PHP do While Loop with Examples 

There are many institutions of higher education in the national capital territory, the most prominent of which include the Jamia Millia Islamia (1920); the University of Delhi (192

View Full Story

PHP Indexed Arrays with Examples

The architectural styles of the British period combined British colonial and Mughal elements. Structures ranged from the grand—as represented by the Presidential House (Rashtrapati Bhavan) and t

View Full Story

PHP Associated Arrays with examples

Delhi is home to a number of important museums and busy cultural centres. The National Museum of India, the National Gallery of Modern Arts, and the Indira Gandhi National Centre for th

View Full Story

PHP $Globals with Examples

The next notable city to emerge in the area now known as the Delhi Triangle was Anangpur (Anandpur), established as a royal resort in about 1020 CE by Anangapala of the Tomara dynasty.

View Full Story

PHP Regex

With the fall of the Mughal Empire during the mid-18th century, Delhi faced raids by the Marathas (a people of peninsular India), invasion by Nādir Shah of Persia,

View Full Story

PHP Form Handling 

Since India’s independence in 1947, Delhi has become a major metropolitan area; it has spread north and south along the Yamuna River, spilled onto the river’s east bank, stretched over the

View Full Story

PHP Form Validation 

This rapid development has not been without cost. In a pattern familiar to many postcolonial megalopolises, the deluge of job-seeking immigrants has placed a colossal strain on the city&rsqu

View Full Story

Java Introduction

Programming paradigm means the way to write code High-level programming language depends on programming paradigm.   Java History 1984 : Bjarne strostrap developed a language C++ [

View Full Story

Java Installation

  Java Install Some PCs might have Java already installed. To check if you have Java installed on a Windows PC, search in the start bar for Java or type the following in Command Prompt (

View Full Story

Java Comments

Java Comments Comments can be used to explain Java code, and to make it more readable. It can also be used to prevent execution when testing alternative code. Single-line Comments Single-li

View Full Story

Java Variables

Variables are containers to hold values. Every variable has name and type, or we can say that a variable is a combination of identifier and datatype. Every variable is an identifier, but every

View Full Story

Java Type Casting Tutorial

Type casting is a way of converting data from one data type to another data type. This process of data conversion is also known as type conversion or type coercion. In Java, we can cast both refere

View Full Story

Java Operators

Java Operators Operators in Java are the special type of tokens in Java which when coupled with entities such as variables or constants or datatypes result in a specific operation such as addition,

View Full Story

Java Strings

What is a Java String? In Java, a string is an object that represents a sequence of characters or char values. The java.lang.String class is used to create a Java string object. Ther

View Full Story

What is Java Math ? How it works ?

1. Introduction In this tutorial, we're going to describe the Math class that provides helpful static methods for performing numeric operations such as exponential, logarithm, etc.

View Full Story

Java Booleans Tutorial

Boolean Expressions in Java   By Doug Lowe A boolean type can have one of two values: true or false. A boolean is used to perform logical operations, m

View Full Story

What is Java If Else ? How it Works ?

When you’re programming, it’s common to write code that should only be executed when a certain condition is met. For instance, you may want an order to be placed on your e-commerce site

View Full Story

Java While Loop with Examples

Java While Loop We will cover the below topics as a part of this tutorial. While loop Infinitive while loop Apart from the above-mentioned sub-topics, we will also discuss

View Full Story

Java For Loop With Examples

A for loop is a repetition control structure that allows you to efficiently write a loop that needs to be executed a specific number of times. A for loop is useful when you know

View Full Story

Java Break and Continue Tutorial

Java Break and Continue In the last topics, you learned about loops which are used to repeat a certain process some number of times. What if we can control the way our loop operates? In Jav

View Full Story

Java Arrays With Examples

Java Array :  An array is a group of variable of similar data type that shares a common name, and store in continuous memory location. The size of the array refer how many element an arra c

View Full Story

Java Methods With Examples

Define : Method first letter will always be in small case. A method is a collection of set of statements. As methods are always declared inside a class boundary hence, methods sometimes are

View Full Story

Java Method Parameters Tutorial

Define : A method that take value at the time of calling known as parameterised method. The fundamental parts of a method are the name, the arguments, the return type, and the body. In simpl

View Full Story

Java Method Overloading With Examples

Define : Method overloading simply means various methods having same name. If the methods have the same name, how can Java know which method you mean? There’s a simple rule: Each overloa

View Full Story

Java Scope Tutorial With Examples

Define : A variable defined within a scope is available only to the end of that scope. Most procedural languages have the concept of scope. This determines both the visibility and lifeti

View Full Story

Java Recursion With Examples

Define : Recursion in java is a process in which a function call itself over, and over again, or in other words - Recursion is a process of expressing a function that calls itself to perform a

View Full Story

What is Java Oops Concept ?

Define :OOPS [Object-oriented programming System] The Java language assumes that you want to do only object-oriented programming. This means that before you can begin you must shift your mindset in

View Full Story

Java Classes and Objects With Examples

Class Class is an user denied data type that combine member data, and member method. Class is the fundamental block of oops. Class supports inheritance that increases the reusability of code. Cl

View Full Story

Java Class Attributes

Class Attributes As we have seen already the data members of a class is also called Class attributes. Class attributes are declared inside the boundary of a class and outside the boundary of al

View Full Story

Java Class Methods With Examples

A method is a collection of set of statements, and methods are used to break a complex program into small parts- these small parts also known asprocedure, modules, or subprogram. Methods are used t

View Full Story

Java Constructors with Examples

Constructor In Java Constructor is the special member of a class it is automatically invoked whenever an object of that class is created. It has the same name as the class name in which

View Full Story

Java Modifiers With Examples

Modifiers in Java : Java provides access specifiers to allow the library creator to say what is available to the client programmer and what is not. The levels of access control from “most acc

View Full Story

Java Encapsulation With Examples

Encapsulation in Java - To wrap up data, and function(Method) in a single entity. Known as class is called encapsulation.In other words Access control is often referred to as implementation hid

View Full Story

Java Packages Tutorial with Examples

Package in Java : Java uses the concept of package to grouped classes together. Packages are used to reuse an existing without physically copying the code. There are two types of packages -

View Full Story

Java Inheritance With Examples

Inheritance In Java Inheritance is the process by which one object can acquire the properties of another object. This is important because it supports the concept of hierarchical clas

View Full Story

Java Polymorphism

Java Polymorphism Polymorphism (from Greek, meaning “many forms”) is the quality that allows one interface to access a general class of actions. The specific action is determined by

View Full Story

Java Inner Classes With Examples

Java Nested and Inner Class In this tutorial, you will learn about the nested class in Java and its types with the help of examples. In Java, you can define a class within another class. Such cl

View Full Story

Java Interface

Interface In Java Interface is a sort skeleton of classes containing method with signature, but no implementation. All interface methods are by default public, and public abstract, and all inter

View Full Story

Java Enums

Enumerations In Java In its simplest form, an enumeration is a list of named constants that define a new data type. An object of an enumeration type can hold only the values that are defin

View Full Story

Java User Input

User Input In Java Scanner class is used to read input from users, We will discuss them as follows - The scanner is the complement of Formatter. Added by JDK 5. Scanner reads forma

View Full Story

Java Date and Time

Date, and Time In Java The Date class encapsulates the current date and time. Before beginning our examination of Date, it is important to point out that it has changed substantially from its

View Full Story

Java ArrayList

ArrayList In Java  Standard arrays are of a fixed length in Java. hence after the creation of the array they cannot be grown, or shrank in size hence one must decide how many number should be

View Full Story

Java LinkedList

Java LinkedList class The LinkedList class extends AbstractSequentialList and implements the List, Deque, and Queue interfaces. It provides a linked-list data structure. LinkedList is a generic cla

View Full Story

Java HashMap

HashMap Class In Java Java HashMap class implements the Map interface by using a hashtable.  It inherits AbstractMap class and implements the Map interface. The important

View Full Story

Java HashSet

HashSet Class In Java - HashSet extends AbstractSet and implements the Set interface. It creates a collection that uses a hash table for storage. HashSet is a generic class th

View Full Story

Java Iterator

Iterator In Java  Often, you will want to cycle through the elements in a collection. For example, you might want to display each element. One way to do this is to employ

View Full Story

Java Exceptions Try Catch

Exception Handling In Java Ever since the beginning of programming languages, error handling has been a particularly difficult issue. Exception handling wires error handling directly

View Full Story

Java RegEx Tutorial With Examples

1. String.matches(regex) 1.1 This example, check if the string is a number. JavaRegEx1.java package com.mkyong.regex; import java.util.Arrays; import java.util.List; public class J

View Full Story

Java Threads

Java Threads   In a thread-based multitasking environment, the thread is the smallest unit of dispatchable code. This means that a   a single program can perform two or more ta

View Full Story

Java Lambda Expressions

Lambda Expressions In Java A lambda expression is, essentially, an anonymous method. However, this method is not executed on its own. Instead, it is used to implement a method defined by a function

View Full Story

Java Create and Write To Files

File Creation In Java    We can create files using createNewFile() method which is found in the File class. We will understand it with the help of an example -    Ex

View Full Story

How to read Files in Java

1. Overview In this tutorial, we'll explore different ways to read from a File in Java. First, we'll learn how to load a file from the classpath, a URL, or from a JAR file using sta

View Full Story

Java How To Add Two Numbers

How to add two java.lang.Numbers? Ask Question Asked 11 years, 7 months ago Active 1 year, 2 months ago Viewed 66k times   51   8   I have t

View Full Story

Java Abstract Keyword

Abstract Keyword In Java An abstract method is created by specifying the abstract type modifier. An abstract method contains nobody and therefore, is not implemented by the superclass. In other

View Full Story

Java Boolean Keyword

Java Boolean Keyword  Java has a primitive type, called boolean, for logical values. It can have only one of two possible values, true or false.  Example- Output -  Sample

View Full Story

Java Break Keyword

Break Keyword In Java Break keyword helps us to exit the body of a loop. break quits the loop without executing the rest of the statements in the loop. we use it for terminati

View Full Story

Java byte Keyword

Byte Keyword In Java This data type can store numbers from -128 to 127. This can be used instead of int or other integer types when the given value is taking 1-byte space. It is mainly used when

View Full Story

Java Case Keyword

Case Keyword In Java The value of the expression is compared with each of the literal values in the case statements. If a match is found, the code sequence following that case statement is executed

View Full Story

Java Catch Keyword

Catch Keyword In Java The catch is used in exception handling  As we have already studied, catch keyword as the name suggests, used to catch exceptions which are thrown by try keyword,

View Full Story

Java Char Keyword

Char Keyword In Java char in Java is not the same as char in C or C++. In C/C++, char is 8 bits wide.  This is not the case in Java. Instead, Java uses Unicode to represent chara

View Full Story

Java Class Keyword

Class Keyword In Java Each, and everything in Java comes under a class, anything outside a class will through an error. Class is a user denied data type that combines member data, and member met

View Full Story

Java Continue Keyword

Continue Keyword In Java ● Continue statement is used to skip the body of loop, or in other words - ● Continue stops the execution of the current iteration and goes back to the beginning of

View Full Story

Java Default Keyword

Default Keyword In Java 1. default is an optional part. 2. We can place the default anywhere inside the switch_case. 3. The switch compares the result of the integral selector to each inte

View Full Story

Java do Keyword

Do Keyword In Java While loop is used with do keyword and form a do-while loop. While says: “repeat the statements in the body as long as condition( ) returns true.”  The

View Full Story

Java Else Keyword

Else Keyword In Java Use if to specify a block of code to be executed, if a specified condition is true Use else to specify a block of code to be executed if the same condition i

View Full Story

Java Enum Keyword

Enum Keyword In Java An enumeration is created using the enum keyword. For example, here is a simple enumeration that lists various forms of transportation. The values( ) method produces an arra

View Full Story

Java Extends Keyword

Extends Keyword In Java We use extends keyword in inheritance in Java. Java supports inheritance by allowing one class to incorporate another class into its declaration. This is done by using th

View Full Story

Java Final Keyword

Final Keyword In Java Java’s final keyword has slightly different meanings depending on the context, but in general, it says “This cannot be changed.” You might want to prevent ch

View Full Story

Java Float Keyword

Float Keyword In Java  The type float specifies a single-precision value that uses 32 bits of storage. Single precision is faster on some processors and takes half as much space as double-p

View Full Story

Java Implements Keyword

Implements Keyword In Java Interface is a sort skeleton of classes containing method with signature, but no implementation.All interface methods are by default public, and public abstract, and all

View Full Story

Java Import Keyword

Import Keyword In Java Imports keyword in Java is similar to #include<> in C programming language. Import keyword in java is used to import classes, interfaces, or packages. Import is a

View Full Story

Java Instanceof Keyword

instanceof Keyword In java Sometimes it is useful to know the type of object during run time. For example, you might have one thread of execution that generates various types of objects and anot

View Full Story

Java Int Keyword

Int Keyword In Java The int data type can store numbers from -2147483648 to 2147483647. The int data type is the preferred data type when we create variables with a numeric value, and when the s

View Full Story

PHP Array Functions

PHP Array Introduction PHP Arrays are a collection of variables, which stores multiple values of same or different datatype at a time. Simple and multi-dimensional arrays are supported. Insta

View Full Story

PHP array_change_key_case Function

Definition and Usage The array_change_key_case() function changes all keys in an array to lowercase or uppercase. Syntax     array_change_key_case(array, case) Parameter Val

View Full Story

PHP array_chunk() Function

PHP array_chunk() Function The array_chunk() function splits an array into chunks of new arrays. Syntax     array_chunk(array, size, preserve_key) Parameter V

View Full Story

PHP Examples

There are PHP Examples that we can covered already in our tutorials.you can direct access to check this examples in our tutorial.   PHP Syntax PHP Comments PHP Variables  

View Full Story

PHP array_column Function

The PHP array_column() function returns an array that contains specific column values of the given array. Syntax of the array_column()    array_column(array, column_key, index_key);

View Full Story

PHP array_combine Function

PHP array_combine() Function The array_combine() function in PHP is used to create an array by combining two arrays i.e., one array for keys and another array for its values.   Syntax of

View Full Story

PHP array_count_values Function

PHP array_count_values() function counts the occurrences of all values in an array and returns an associative array formed by the unique value of input array as keys, and the number of their occurrenc

View Full Story

PHP array_diff Function

Description The array_diff() function compares the values of two or more arrays and returns the differences. This function compares the values of two (or more) arrays, and return an ar

View Full Story

PHP array_diff_assoc Function

Description : The array_diff_assoc() function compares the elements of two or more arrays and returns the differences. Unlike array_diff(), the array keys are also used in the compar

View Full Story

PHP array_diff_key Function

Description : PHP array_diff_key() Function is used to compare the keys of two or more arrays. It returns the difference in the output after comparing. However, it will not compare the values of th

View Full Story

PHP array_diff_uassoc Function

The PHP array_diff_uassoc() function compares the keys and values of two (or more) arrays, and then it returns an array that contains the entries from array1 that are not present in any other arrays w

View Full Story

PHP array_diff_ukey Function

Description : The array_diff_ukey() function compares the keys of two (or more) arrays, and returns the differences. Note: This function uses a user-defined function to compare the keys! This f

View Full Story

PHP array_fill Function

Description : In PHP array_fill() function returns an array filled with specified value with specified number of times and the index of the array starts from specified index.  In other word

View Full Story

PHP array_fill_keys Function

Description : The array_fill_keys() function fills an array with a value and lets you specify what key to use. The following table summarizes the technical details of this function.

View Full Story

PHP array_filter Function

Description : array_filter() function is used to apply a filter on array elements based on the function and returns the array with filtered elements, it accepts an array to be checked and a ca

View Full Story

PHP array_flip Function

Description : The array_flip() function flip or exchanges all keys with their associated values in an array, i.e. keys from the array become values and the values from the array become ke

View Full Story

PHP array_intersect Function

What is PHP array_intersect() Function ? The array_intersect() function compares the values of two or more arrays and returns the matches. The keys are not considered in the comparis

View Full Story

PHP array_intersect_assoc Function

Definition : The array_intersect_assoc() function compares the elements of two or more arrays and returns the matches. Unlike array_intersect(), the array keys are also used in the c

View Full Story

PHP array_intersect_key Function

Definition : The array_intersect_key() function compares the keys of two or more arrays and returns the matches. The keys values are not considered in the comparison, only the keys are ch

View Full Story

PHP array_intersect_uassoc Function

Definition : The array_intersect_uassoc() function compares the values of two or more arrays and returns the matches with additional key check using a user-defined key comparison function

View Full Story

PHP array_intersect_ukey Function

Defintion : The array_intersect_ukey() function compares the keys of two or more arrays and returns the matches or intersection using a user-defined key comparison function. Also, the

View Full Story

PHP array_key_exists Function

Description : The array_key_exists() function checks an array for a specified key, and returns true if the key exists and false if the key does not exist. Tip: Remember that if you skip the

View Full Story

PHP array_keys Function

Definition: The array_keys() function return all the keys or a subset of the keys of an array. Syntax : The basic syntax of the array_keys() function is given with: &nb

View Full Story

PHP array_map Function

Definition : The array_map() function sends each value of an array to a user-made function, and returns an array with new values, given by the user-made function. Tip: You can assign one ar

View Full Story

PHP array_merge Function

Definition: The array_merge() function merge one or more arrays into one array. This function merges the elements of one or more arrays together in such a way that the values of one ar

View Full Story

PHP array_merge_recursive Function

Defintion : The array_merge_recursive() function merge one or more arrays into one array recursively. This function merges the elements of one or more arrays together in such a way tha

View Full Story

PHP array_multisort Function

Definition : The array_multisort() function sort multiple arrays at once, or a multi-dimensional array by one or more dimensions. The sorting is done as though the arrays were columns in

View Full Story

PHP array_pad Function

Description The array_pad() function inserts a value into an array up to the specified length. Tip: If you assign a negative size parameter, the function will insert new elements

View Full Story

PHP array_pop Function

Definition : The array_pop() function deletes the last element of an array. Syntax :     array_pop(array) Parameter : Parameter Description array

View Full Story

PHP array_product Function

Definition: The array_product() function calculates and returns the product of an array.  Syntax: The basic syntax of the array_product() function is given with:   &nbs

View Full Story

PHP array_push Function

Definition : The array_push() function inserts one or more elements at the end of an array. Syntax: The basic syntax of the array_push() function is given with:  

View Full Story

PHP array_rand Function

Definition: The array_rand() function returns a random key from an array, or it returns an array of random keys if you specify that the function should return more than one key. Syntax : &nbs

View Full Story

PHP array_reduce Function

The array_reduce() function sends the values in an array to a user-defined function, and returns a string. Note: If the array is empty and initial is not passed, this function returns NULL.

View Full Story

PHP array_replace Function

The array_replace() function replaces the values in an array with the values from other arrays. Syntax The basic syntax of the array_replace() function is given with: &nbs

View Full Story

PHP array_replace_recursive Function

The array_replace_recursive() function replaces the values in an array with the values from other arrays recursively. This function is mainly used with deeper arrays (an array inside an arra

View Full Story

PHP array_reverse Function

The array_reverse() function reverses the order of the elements in an array. Syntax : The basic syntax of the array_reverse() function is given with:      a

View Full Story

PHP array_search Function

The array_search() function searches an array for a given value and returns the corresponding key if the value is found. If the value is found more than once, the first matching key is retur

View Full Story

PHP array_shift Function

The array_shift() function shifts or removes the first element from an array. Syntax The basic syntax of the array_shift() function is given with:   array_shift(array

View Full Story

PHP array_slice Function

The array_slice() function extract a slice or portion of an array. Syntax : The basic syntax of the array_slice() function is given with:    array_slice(array, s

View Full Story

PHP array_splice Function

The array_splice() function removes a portion or slice of an array and replaces it with the elements of another array. If no replacement array is specified, this function simply removes the

View Full Story

PHP array_sum Function

The array_sum() function calculates the sum of all the values in an array. Syntax The basic syntax of the array_sum() function is given with:        ar

View Full Story

PHP array_udiff Function

Definition : The array_udiff() function compares the values of two or more arrays and returns the differences using a user-defined value comparison function. This is unlike array_

View Full Story

PHP array_udiff_uassoc Function

Definition : The array_udiff_uassoc() function compares the keys and values of two or more arrays and returns the differences using the user-defined key and value comparison functions.

View Full Story

PHP array_udiff_assoc Function

Definition : The array_udiff_assoc() function compares the values of two or more arrays and returns the differences with additional key check using a user-defined value comparison functio

View Full Story

PHP array_uintersect Function

Definition : The array_uintersect() function compares the values of two or more arrays and returns the matches using a user-defined value comparison function. This is unlike array

View Full Story

PHP array_uintersect_assoc Function

Definition : The array_uintersect_assoc() function compares the values of two or more arrays and returns the matches with additional key check using a user-defined value comparison functi

View Full Story

PHP array_uintersect_uassoc Function

Definition :  The array_uintersect_uassoc() function compares the keys and values of two or more arrays and returns the matches using the user-defined key and value comparison functi

View Full Story

PHP array_unique Function

Definition : The array_unique() function removes duplicate values from an array. If multiple values are found equal, the first value and its key will be kept and others will be removed

View Full Story

PHP array_unshift Function

Definition The array_unshift() function inserts one or more elements at the beginning of an array. All numerical array keys will be modified to start counting from zero. String keys wi

View Full Story

PHP array_values Function

Definition  PHP array_values() is inbuilt function that returns an array containing all the values of an array. The returned array will be indexed numerically, starting with 0 and incr

View Full Story

PHP array_walk Function

Definition The array_walk() function apply a user-defined function to every element of an array. Syntax:      array_walk(array, myfunction, parameter...) Parameter

View Full Story

PHP array_walk_recursive Function

Definition : The array_walk_recursive() function apply a user-defined function recursively to every element of an array. This function is mainly used with deeper arrays (an array inside a

View Full Story

PHP arsort Function

Definition: The arsort() function sorts an associative array in descending order, according to the value. The keys are preserved, i.e. the key-to-value mapping will remain unchanged by

View Full Story

PHP asort Function

Definition : The asort() function sorts an associative array in ascending order, according to the value. The keys are preserved, i.e. the key-to-value mapping will remain unchanged by

View Full Story

PHP compact Function

Definition : The compact() function creates an array from variables and their values. Syntax: The basic syntax of the compact() function is given with:     &n

View Full Story

PHP count Function

Definiton: The count() function count all elements in an array, or something in an object. Syntax: The basic syntax of the count() function is given with:    

View Full Story

PHP current Function

Definition: An array in PHP has a current pointer which points to the first element by default, current() function is used to get the current elements of an array. It accepts an array and

View Full Story

PHP natcasesort Function

Defintion: PHP natcasesort is an inbuilt function in PHP. It sorts an array using natural order algorithm in a case-insensitive manner. The sorting is done in a way a normal human will so

View Full Story

PHP natsort Function

Definiton : PHP natsort is an inbuilt function in PHP. It sorts an array using natural order algorithm which is how a normal human being would sort the array. Therefore, it does not check

View Full Story

PHP next Function

Defintion : In PHP Array Functions The next() function moves the internal pointer of an array to the next element, and returns its value. Syntax The basic syntax of the ne

View Full Story

PHP end Function

Definition The end() function set the internal pointer of an array to its last element, and returns its value Syntax The basic syntax of the end() function is given with:  

View Full Story

PHP pos Function

Definition : In PHP array functions pos( )  function is used to fetch the value of the current element in an array. The PHP pos( ) function is an alias of current( ) function. Thi

View Full Story

PHP prev Function

Definition : In PHP Array funciton PHP prev is an inbuilt function in PHP. prev() function is used to  moves the internal pointer to, and outputs, the previous element in the array. Re

View Full Story

PHP range Function

Definition : In PHP Array function range function is inbuilt function.range() function is used to  creates an array containing a range of elements. Syntax    range(low, high, s

View Full Story

PHP reset Function

Definition : In php Array function reset function is inbuilt function.The reset() function is used to  moves the internal pointer to the first element of the array. Related methods: c

View Full Story

PHP rsort Function

Definition : The rsort() function is used to sorts the values of the indexed array in descending order. Syntax    rsort(array, sorttype) Parameters The rsort()&

View Full Story

PHP extract Function

Definition : In PHP Array function the xtract() function imports variables into the current symbol table from an array. This function basically creates variables from an associative array. This

View Full Story

PHP in_array Function

Definition    PHP in_array() function checks if value exits in an array. Syntax  The basic syntax of the in_array() function is given with       in_array(search,

View Full Story

PHP key Function

Definition : In PHP Array key () function fetch the key or index of the current element in an array. Tip: Every array has an internal pointer that points to the current element in the array. When

View Full Story

PHP krsort Function

Definiton : The krsort() function sorts an associative array in descending order, according to the key. The keys are preserved, i.e. the key-to-value mapping will remain unchanged by the sort op

View Full Story

PHP ksort Function

Definition : In PHP Array functions ksort() function sorts an associative array in ascending order, according to the key. The keys are preserved, i.e. the key-to-value mapping will remain unchan

View Full Story

PHP list Function

Defintion : In php Array functions the list() function assign variables as if they were an array. Like array(), this is not really a function, but a language construct. This function is mainly use

View Full Story

PHP shuffle Function

Definition : The shuffle() Function is a builtin function in PHP and is used to shuffle or randomize the order of the elements in an array. This function assigns new keys for the elements in the ar

View Full Story

PHP sizeof Function

Definition : In php Array funciton sizeof() function is inbuilt function.The sizeof() function is used to returns the number of elements in an array. he sizeof() function is an alias of the 

View Full Story

PHP sort Function

Definition : The sort() is inbuilt function in PHP Array.Basically sort() function is used to sorts the values of the indexed array in ascending order. Syntax   The basic syntax of th

View Full Story

PHP uasort Function

Definition : The uasort() function is used to sorts an array by values using a user-defined comparison function. The keys are preserved, i.e. the key-to-value mapping will remain uncha

View Full Story

PHP uksort Function

Definition : In this tutorial we learn about uksort() function. The uksort() function is used to  sorts an array by keys using a user-defined comparison function. The

View Full Story

PHP usort Function

Definition : In this tutorial we learned about usort() function The usort() function is used sorts an array by values using a user-defined comparison function. Syntax The basic s

View Full Story

PHP cal_days_in_month Function

Definiton : In PHP the cal_days_in_month() function is used to get the number of days of a month for a given year and calendar. Syntax      cal_days_in_month(calendar,month,yea

View Full Story

PHP cal_from_jd Function

Definition :  In php The PHP cal_from_jd() function is used to converts the Julian day count into a date of the specified calendar. Supported calendars by this function are CAL_

View Full Story

PHP cal_info Function

Definition : In php cal_info() is used to  returns information about a specified calendar. Syntax cal_info(calendar); Parameter : Parameter Description

View Full Story

PHP cal_to_jd Function

Definition : The cal_to_jd() function is used to converts a date in a specified calendar to Julian Day Count. Syntax      cal_to_jd(calendar,month,day,year); Parameter 

View Full Story

PHP easter_date Function

Definition : The easter_date() function is used to returns the Unix timestamp for midnight on Easter of a given year. Tip: The date of Easter Day is defined as the Sunday after the first fu

View Full Story

PHP easter_days Function

Definition : The easter_days() function is used to returns the number of days after March 21, that the Easter Day is in the given year. Tip: The date of Easter Day is defined as the Sunday

View Full Story

PHP frenchtojd Function

Definition : The frenchtojd() function converts a date from the French Republican Calendar to a Julian Day Count. Tip: The French Republican Calendar is a calendar proposed during the Frenc

View Full Story

PHP gregoriantojd Function

Definition : The gregoriantojd() function converts a date from the Gregorian Calendar to a Julian Day Count. Note: Although this function can handle dates back to 4714 B.C., notice that the

View Full Story

PHP jddayofweek Function

Definition : The jddayofweek() function is a built-in function in PHP.the jddayofweek() function is used to returns the day of the week. Syntax    jddayofweek(jd,mode); Parameter

View Full Story

PHP jdmonthname Function

Definition : The jdmonthname() function is a built-in function in PHP.The jdmonthname() function is used to returns a month name. Syntax  jdmonthname(jd,mode); Parameter:

View Full Story

PHP jdtogregorian Function

Definition : The jdtogregorian() function is a built-in function in PHP. The jdtogregorian() function is used to converts a Julian Day Count to a Gregorian date. Syntax    jdtogr

View Full Story

PHP jdtofrench Function

Definition : The jdtofrench()  function is a built-in function in PHP. the jdtofrench() function is used to converts a Julian Day Count to a French Republican date. Syntax &nbs

View Full Story

PHP jdtojewish Function

Definition :  The jdtojewish() function is a built-in function in PHP.The jdtojewish() function is used to converts a Julian Day Count to a Jewish date. Syntax    jdtojewi

View Full Story

PHP jdtojulian Function

Definition: The jdtojulian() function is a built-in function in PHP. The jdtojulian() function is used to converts a Julian Day Count to a Julian date.  Syntax   &nbs

View Full Story

PHP jdtounix Function

Definition : The jdtounix() function is a built-in function in PHP.The PHP jdtounix() function returns a Unix timestamp corresponding to the Julian Day given in jday else FALSE

View Full Story

PHP jewishtojd Function

Definition: The jewishtojd() function is a built-in function in PHP. The jewishtojd() function converts a date from the Jewish Calendar to a Julian Day Count. Note: Although this fu

View Full Story

PHP juliantojd Function

Definition : The juliantojd () function is a PHP built-in function used to convert the Julian calendar date to the Julian day count. The date range for the Julian calendar is valid from the Ju

View Full Story

PHP unixtojd Function

Definition :  The jewishtojd() function is a built-in function in PHP. The unixtojd() function is used to converts Unix timestamp to Julian Day Count. Note: Unix timesta

View Full Story

PHP checkdate Function

Definition : The  checkdate() function is a built-in function in PHP.The checkdate() function is used to validate a Gregorian date. Syntax      checkdate(month,

View Full Story

PHP date_add Function

Definition : The  date_add() function is a built-in function in PHP.The date_add() function is used to adds some days, months, years, hours, minutes, and seconds to a date. S

View Full Story

PHP date_create Function

Definition  PHP date_create() Function is inbuilt function in php.The date_create() function is used to returns a new DateTime object. It accepts two optional parameters "time&q

View Full Story

PHP date_date_set Function

Definition : PHP date_date_set() Function is inbuilt function in php.PHP date_date_set() function is used to set a new date also with a desired format of the date. It returns a datet

View Full Story

PHP date_default_timezone_get Function

Definition : In PHP date_default_timezone_get() function is inbuilt function.PHP date_default_timezone_get() function is used to get the default timezone used by all date/time functions in the

View Full Story

PHP date_create_from_format Function

Definition :  PHP date_create_from_format() Function is inbuilt function in php.This function accepts a time string and format string as parameters, parses the given time string in t

View Full Story

PHP date_diff Function

Definition : In PHP  date_diff() Function is inbuilt function.PHP date_diff() function is used to calculate the difference between two given DateTime objects. It returns a date time

View Full Story

PHP date_format Function

Definition :  In PHP  date_format() Function is inbuilt function.PHP date_format() Function is used to format the given input date and time value. It return a new DateTime objec

View Full Story

PHP date_get_last_errors- Function

Definition :  PHP date_get_last_errors() function is inbuilt function.PHP date_get_last_errors() function is used to returns the warnings and errors occurs while parsing the date string.

View Full Story

PHP date_interval_format

Definition :  In php date_interval_format() Function is inbuilt function.PHP date_interval_format() function is used to format the interval of the given dates. It is an alias of

View Full Story

PHP date_modify Function

Definition : In php date_modify() Function is inbuilt function.PHP date_modify() function is used to modify or to alter the timestamp of the DateTime object. It returns a DateTime object

View Full Story

PHP date_offset_get Function

Definition : In php date_offset_get() Function is inbuilt function.The date_offset_get() Function is used to Return the timezone offset for Oslo (in Norway, Europe) in seconds from U

View Full Story

PHP date_isodate_set Function

Definition: In php date_isodate_set() Function is inbuilt function.PHP date_isodate_set() function is used to set the date according to the ISO 8601 standard using weeks and day offsets i

View Full Story

PHP date_parse_from_format Function

Definition : In php date_parse_from_format() Function is inbuilt function.The date_parse_from_format() Function is used to get information about given date detailed information about

View Full Story

PHP date_parse Function

Definition : In php  date_parse()  Function is inbuilt function.PHP date_parse() Function is used to find the detailed information about a specified date. It returns an associat

View Full Story

PHP date_sub Function

Definition : In php  date_sub()  Function is inbuilt function.The date_sub() function is used to subtracts some days, months, years, hours, minutes, and seconds from a date

View Full Story

PHP date_sun_info Function

Defintion :  In php  date_sun_info() Function is inbuilt function.PHP date_sun_info() function is used to returns an array containing information about sunset or sunrise an

View Full Story

PHP date_sunrise Function

Defintion :  In php  date_sunrise() Function is inbuilt function.PHP date_sunrise() function is used to get the sunrise time for a specified day and location. It returns th

View Full Story

PHP date_sunset Function

Definition : In php  date_sunset() Function is inbuilt function.PHP date_sunset() function is used to get the sunset time for a specified day and location. It returns the sunset

View Full Story

PHP date_time_set Function

Definition :  In php  date_time_set() Function is inbuilt function.PHP date_time_set() function is used to sets the time value. It sets the current time of the DateTime obj

View Full Story

PHP date_timestamp_get Function

Definition :  In php date_timestamp_get() Function is inbuilt function.PHP date_timestamp_get() function is used to gets the Unix timestamp. It returns the Unix timestamp repres

View Full Story

PHP date_timestamp_set Function

Definition :  In php date_timestamp_set() Function is inbuilt function.PHP date_timestamp_set() function is used to sets the date and time based on the given Unix timestamp. It

View Full Story

PHP date_timezone_get Function

Definition : In php date_timezone_get() Function is inbuilt function.PHP date_timezone_get() function is used to return time zone relative to given DateTime value. It returns a DateT

View Full Story

PHP date_timezone_set Function

Definition : In php date_timezone_set() Function is inbuilt function.PHP date_timezone_set() function is used to sets the time zone for the given DateTime object. It returns the Date

View Full Story

PHP idate Function

Definition : In php idate()  Function is inbuilt function.PHP idate() function is used to format a local time/date as an integer. It accepts two parameters $format and $timestam

View Full Story

PHP getdate Function

Definition :  In php getdate() Function is inbuilt function.PHP getdate() function is used to get date and time information of the given current local date and time. It accepts one p

View Full Story

PHP gettimeofday Function

Definition :  In php gettimeofday() Function is inbuilt function.PHP gettimeofday() function is used to return the current time. It returns an associative array containing the d

View Full Story

PHP gmdate Function

Definition :  In php gmdate()  Function is inbuilt function.PHP gmdate() function is used to format a GMT/UTC date and time and return the formatted date strings. It is similar

View Full Story

PHP gmmktime Function

Definition :  In php gmmktime() Function is inbuilt function.PHP gmmktime() function is used to return the Unix timestamp for a GMT date. It accepts $hour, $minute, $second, $mo

View Full Story

PHP gmstrftime Function

Definition :  In php gmstrftime() Function is inbuilt function.PHP gmstrftime() function is used to format a GMT/UTC time/date according to the local settings. It is similar to

View Full Story

PHP date Function

Definiton : In php date() Function is inbuilt function.PHP date() function is used to format the local timestamp into a more readable date and time format and returns the formatted d

View Full Story

PHP localtime Function

Definition : In php localtime() Function is inbuilt function.PHP localtime() function is used to return the local time. It accepts two parameters $timestamp and $is_associative. It r

View Full Story

PHP microtime Function

Definition :  In php microtime() Function is inbuilt function.PHP microtime() function is used to return the current Unix times