function mock_sanitizeString($string) { // no need for dependence on MySQL here return addslashes($string); }