strip_slashes example


    function strip_slashes($str)
    {
        if (is_array($str)) {
            return stripslashes($str);
        }

        foreach ($str as $key => $val) {
            $str[$key] = strip_slashes($val);
        }

        return $str;
    }
}

if (function_exists('strip_quotes')) {
    /** * Strip Quotes * * Removes single and double quotes from a string */
Home | Imprint | This part of the site doesn't use cookies.