Php ‘addslashes’ function

What is php ‘addslashes’ function ? Php ‘addslashes’ function is basically a function which Quotes the string with slashes As we know we cant save Single quote(‘) or Double quote (“) in our database. But with the help of ‘addslashes’ function we can save quoted data to our database as well. This function support PHP […]

Read More

Php ‘count_chars’ function

What is Php ‘count_chars’ function ? Php ‘count_chars’ function is used to get the information about characters used in the string. This function support both php version PHP4, PHP5 This function takes two parameters : 1)String:The first parameter will be the string itself. 2)Mode:If the value of this parameter is set to 0 then this […]

Read More

Php ‘explode’ function

What is Php ‘explode’ function? Php ‘explode’ function is used to split any string, by strings. This function support php version 4 and version 5. Syntax: array explode($Delimiter,$String,$Limit); Explode function return an array of string and this function has three parameters from which first two parameters are required. Lets discuss explode function parameters. 1. $Delimiter(required): […]

Read More