PHP mysqli_fetch_assoc() Function
PHP mysqli_fetch_assoc() Function is used to fetch rows as an associative array from the database. Associative arrays are the arrays where the inde...
PHP mysqli_fetch_assoc() Function is used to fetch rows as an associative array from the database. Associative arrays are the arrays where the inde...
PHP mysqli_fetch_array() Function is used to fetch rows as a numeric array and as an associative or both array from the database. Associative ...
PHP mysqli_connect_error() Function returns description of the error from the last connection incase of a failure. If the connection is successful, th...
PHP mysqli_select_db() Function is used to choose database for the connection. Also You can select the default database using 4th parameter in mysqli_...
PHP mysqli_connect() Function is used to open a new connection to the MySQL server. mysqli_connect() establishes a connection with MySQL server and re...
PHP mysqli_query() Function is used to execute mysql query on database. A mysqli_query() function is PHP built-in function. The MySQLi Extension is...
PHP strtotime() Function is used to convert an English textual datetime into a Unix timestamp. A strtotime() function is PHP built-in function. PHP...
PHP file_get_contents() Function is used to read the contents of a file into a string. A file_get_contents() function is PHP built-in function. PHP...
PHP strpos() Function is used to find the position of the first occurrence of a substring in a string. PHP strpos() function is PHP built-in function....
PHP str_replace() Function is used to replace all the occurrences of the search string or array of search strings by replacement string or array of re...
PHP substr() Function is used to return a part of a string. PHP substr() function is PHP built-in function. Syntax for substr: substr(string $st...
PHP unset() Function is used to unset a variable. PHP unset() function is PHP built-in function. It unsets the local variables. If You want to unse...
PHP isset() Function is used to check whether the variable is set or declared. Also checks a variable is empty. PHP isset() function is PHP buil...
PHP phpinfo() Function is used to check information about PHP's configuration, Predefined Variables, extensions, the PHP version, server informati...
PHP json_decode() Function is used to decode JSON array or a JSON object into a PHP object or an associative array. A json_decode() function is ...
PHP json_encode() Function is used to encode array value to JSON format. A json_encode() function is built-in function in PHP. Syntax : json_enc...
PHP __clone() method is used to create a copy of an object. Objects are always passed by reference or address in Copy Constructor using __clone() meth...
PHP abs() Function is used to get absolute (positive) value of numbers. A abs() function is built-in function in PHP. Syntax : abs(int $number);...
PHP floor() Function is used to get round a number down to the nearest integer for floating-point number. A floor() function is built-in function in...
PHP ceil() Function is used to get round a number up to the nearest integer for floating-point number. A ceil() function is built-in function in PHP. ...
PHP rand() Function is used to generate a random integer number. A rand() function is built-in function in PHP. Syntax : rand(); Or rand(i...
PHP count() Function is used to get the number of elements in an array. A count() function is built-in function in PHP. Syntax : count(array $ar...
PHP in_array() Function is used to check that a value exists in an array. An in_array() function is built-in function in PHP. Syntax : in_array(...
PHP ksort() Function is used to sort associative array in ascending order according to the key. An ksort() function is built-in function in ...
PHP krsort() Function is used to sort associative array in descending order according to the key. An krsort() function is built-in function in...
PHP arsort() Function is used to sort an associative array in descending order. An arsort() function is built-in function in PHP. Syntax : ...
PHP asort() Function is used to sort an associative array in ascending order. An asort() function is built-in function in PHP. Syntax : asor...
PHP rsort() Function is used to sort the elements of the array in descending order. An rsort() function is built-in function in PHP. Syntax : ...
PHP sort() Function is used to sort the elements of the array in ascending order. An sort() function is built-in function in PHP. Syntax : sort(...
PHP array_sum() Function returns the sum all values of array. An array_sum() function is built-in function in PHP. Syntax : array_sum(array $arr...
PHP array_unique() Function is used to remove duplicate values from an array. PHP array_unique() function is PHP built-in function. Syntax : arr...
PHP array_values() Function is used to get all value of array. PHP array_values() function is PHP built-in function. Syntax : array_values(array...
PHP array_key_exists() Function is used to check if given key exists in the array. If it returns true, then key exists. If it returns false, then key ...
PHP array_keys() Function is used to get keys from array. PHP array_keys() function is PHP built-in function. Syntax : array_keys(array $array, ...
PHP array_slice() Function is used to extract a slice of the array. PHP array_slice() function is PHP built-in function. Syntax : array_slice(ar...
PHP array_merge() Function is used to merge one or more arrays into one array. PHP array_merge() function is PHP built-in function. Syntax : arr...
PHP array_combine() Function is used to create an array by using one array for keys and another for its values. PHP array_combine() function is PHP bu...
PHP array_search() function is used to search the array for a given value and returns the first corresponding key if successful. PHP array_searc...
PHP array_reverse() function is used to reverse the order of the elements in an array. PHP array_reverse() function is PHP built-in function. ...
PHP array_replace() function replaces elements of first array with other passed array. The array_replace() function is PHP built-in function. array...
PHP array_chunk() function is used to split an array into chunks. The array_chunk() function is PHP built-in function. PHP array_chunk() function d...
PHP array_rand() Function returns one or more random key from an array. The array_rand() is a built-in function of PHP. Syntax : array_rand($arr...
PHP array_shift() Function is used to remove the first element from an array and returned with shifted value at beginning . The array_shift() is a bui...
PHP array_pop() Function is used to remove the last element of an array.The array_pop() is a built-in function of PHP. Syntax : array_pop(array...
PHP array_push() Function is used to push one or more elements into the end of array. The array_push() is a built-in function of PHP We can add a s...
PHP htmlspecialchars_decode() Function converts the predefined HTML entities back to characters. A predefined HTML entities are given as below. ...
PHP htmlspecialchars() Function converts some predefined characters to HTML entities. A predefined characters are given as below. &...
PHP htmlentities() Function converts some characters to HTML entities. Function htmlentities() is php in built function. Syntax : htmlenti...
PHP chunk_split() Function splits a string into a series of smaller parts. Syntax : chunk_split(string,length,separator) Parameter, PHP...
PHP lcfirst() Function converts only the first character of a string into lowercase. The lcfirst() Function is php in-built function. Syntax : ...
PHP ucfirst() Function converts only the first character of a string into uppercase. The ucfirst() Function is php in-built function. Syntax : ...
PHP strtolower() Function makes all characters of string to lowercase. It is php in-built function. Syntax : strtolower(string); Parameters ...
PHP strtoupper() Function makes all characters of string to uppercase. Syntax : strtoupper(string); Parameters , string : Required. It is...
PHP ucwords() Function is used to convert the first character of each word to uppercase in string. The ucwords() is an in-built function of PHP. Sy...
PHP join() Function is used to join array elements into string. The join() function is an alias of the implode() function. Syntax : implo...
PHP implode() Function is used to join array elements into string. Syntax : implode(separator,array); PHP implode() Function returns st...
PHP explode() Function spilts a string into an array. Syntax : explode(separator,string,limit); It returns array of string. Note: The &qu...
PHP sha1_file() Function is used to generate the SHA-1 hash of a file. The sha1_file() function uses the US Secure Hash Algorithm 1. Syntax : s...
PHP sha1() Function is used to generate the SHA-1 hash of a string. The sha1() function uses the US Secure Hash Algorithm 1. Syntax : sha1(stri...
PHP md5_file() Function returns the MD5 hash of the file. It returns the hash as a 16 or 32 character hexadecimal number. The md5_file() funct...
PHP md5() function is used to generate the MD5 hash of a string. It returns the hash as a 32 character hexadecimal number. The md5() function use...