strripos – PHP String Functions
Syntax : strripos ( string, search_string, start ); Description : It’s an inbuilt function of PHP. strripos() function find the position of the last occurrence of a search_string in a string....
Syntax : strripos ( string, search_string, start ); Description : It’s an inbuilt function of PHP. strripos() function find the position of the last occurrence of a search_string in a string....
Syntax : strrpos ( string, search_string, start ); Description : It’s an inbuilt function of PHP. strrpos() function Find the position of the last occurrence of a search_string in a string....
Syntax : strpos ( string, search_string, start ); Description : It’s an inbuilt function of PHP. strpos() function Find the position of the first occurrence of a search_string in a string....
Syntax : stripos ( string, search_string, start ); Description : It’s an inbuilt function of PHP. stripos() function find the position of the first occurrence of a search_string in a string....
Syntax : string stripcslashes ( string); Description : It’s an inbuilt function of PHP. stripcslashes() function un-quote string quoted with addcslashes(). Recognizes C-like \n, \r …, octal and hexadecimal representation. Note : We can use this...
Syntax : string stripslashes ( string); Description : It’s an inbuilt function of PHP. stripslashes() function un-quote string quoted with addslashes(). Note : We can use this function to clean up data...
Syntax : substr ( string, start_position, length ); Description : It’s an inbuilt function of PHP. substr() function will return part of a string. Parameter : string – This is a Required parameter....
String strtr ( string, from, to ); OR String strtr ( string, replace_array ); Description : It’s an inbuilt function of PHP. strtr() function translate characters or replace strings. In case if...
Syntax : substr_count ( string, substring, start_position, length ); Description : It’s an inbuilt function of PHP. substr_count() function counts the number of times a substring comes in a string. Note: The...
Syntax : substr_compare ( string1, string2, start_position, length, case_insensitivity ); Description : It’s an inbuilt function of PHP. substr_compare() function will compares two strings from a specified start position. It do the binary...
Syntax : substr_replace ( string, replacement, start, length ); Description : substr_replace() function will replace text within a part of a string. As the name suggest, it works similarly as its...
Syntax : uniqid (prefix, more_entropy) ; Description : The uniqid() function generates a unique ID based on the microtime (current time in microseconds). This is an inbuilt function of PHP. ID...
Syntax : wordwrap ( string, width, break, cut ); Description : wordwrap() function will Wraps a string to a given number of width using a string break character. Parameter : [table caption=”” width=”100%”...
Syntax : string nl2br( string , use_xhtml); Description : It is an inbuilt function of PHP. nl2br() function inserts HTML ( <br> or </ br> ) line breaks before all...
Syntax : number_format ( number, decimals, decimal_point, thousands_sep); Description : number_format() function helps in formating a number (Floating number) with grouped thousands. Note : This function takes either one, two, or four...
Syntax : htmlspecialchars ( strings, flags, encoding/character-set, double_encode ); Description : htmlspecialchars() function can converts some predefined characters to HTML entities. Here is list of predefined characters. [table caption=”Predefined Characters List” max-width=”100%”...
Syntax : string hex2bin ( string ); Description : hex2bin function will converts a string of hexadecimal values to ASCII characters. Parameter : string – This is a Required parameter. String of hexadecimal values...
Below are the different ways to import database sql file using mysql command. Import database using command line in MySQL : Method 1 Use the following command to import database...
HTML is the foundation of the Internet for publishing text and images in any form. HTML tags are the basic elements that help us format different texts, images, or any...
Error #3144 – Cannot create a JSON value from a string with CHARACTER SET ‘binary’. last day when i was exporting my database, i got above error. I solved the...