protected function cleanString($mystr = "") { $search = array("", "\"", "'", "\\", "\\'", "<", ">"); $res = str_replace($search, "", $mystr); return $res; }