Guest User

Untitled

a guest
Jun 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. function clean($array) {
  2.  
  3. foreach($arrayvar as $key=>$value) {
  4. if( is_array($value) ) {
  5. array[$key] = clean($value) ;
  6. }
  7. else {
  8. array[$key] = mysql_escape_string($value);
  9. }
  10. }
Add Comment
Please, Sign In to add comment