how to filter the all special characters in cakephp from an array code example
Example: how to filter the all special characters in cakephp from an array
cleaned = preg_replace("/[^{$allow}a-zA-Z0-9]/", '', $string);
cleaned = preg_replace("/[^{$allow}a-zA-Z0-9]/", '', $string);