Another private function that will be used with array_walk(), this one will add slashes to an element of an array.
<?phpfunction _slashit(&$item, $key) { $item = addslashes($item);}?>
Next: >>
More Database Articles ArticlesMore By Matt Wade