Php tutorials for beginners with example

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....

Php tutorials for beginners with example

strrpos – PHP String Functions

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....

Php tutorials for beginners with example

strpos – PHP String Functions

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....

Php tutorials for beginners with example

stripos – PHP String Functions

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....

Php tutorials for beginners with example 0

stripcslashes – PHP String Functions

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...

Php tutorials for beginners with example 0

stripslashes – PHP String Functions

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...

Magento Step by Step tutorials 0

How To Get Table Name in Magento..?

Get Table Name in Magento : You can easily add table in Magento by using the following code. Suppose you need to get table name category_product. Table Name in Magento :...

Php tutorials for beginners with example

substr – PHP String Functions

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....

Php tutorials for beginners with example

strtr – PHP String Functions

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...

Php tutorials for beginners with example

substr_count – PHP String Functions

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...

Php tutorials for beginners with example

substr_compare – PHP String Functions

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...

Php tutorials for beginners with example

substr_replace – PHP String Functions

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...