Search My Blog

Wednesday, February 20, 2013

some useful PHP functions

- addslashes(string) - adds escape slashes to all special characters

for example,
$title = "Shantanu's Page";
$title = addslashes($title) // $title will be assigned "Shantanu\'s Page"

No comments:

Post a Comment