Skip to content

Instantly share code, notes, and snippets.

@weldan
Created January 4, 2011 09:30
Show Gist options
  • Save weldan/764585 to your computer and use it in GitHub Desktop.
Save weldan/764585 to your computer and use it in GitHub Desktop.
foreach($_POST as $key => $value) {
$_POST[$key] = mysql_real_escape_string($value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment