Php Array Functions
PHP Array CountPhp File Functions
PHP File RenameThe addcslashes() function is used to add backslashes in the sentances from specified character .
Type sentance at textarea like this : PHP is a powerful language.Type Character at Text box like this : a
If you need to add slashes for a sentence following code useful to you.
In the above code is used to slashes for a sentance .The sentence will pass to the addcslashes() function.Finally output will display "PHP is \a powerful l\angu\age".
In the addcslashes() function have two parameters that name is string,characters. In the first parameters is used to assign the string and second parameters used to which letter will affected in the sentance.
If you need addcslashes() function demo code download from following link.
|
Tweet |
|
|