$data = preg_replace('[\W]', '_', normalizer_normalize($data));
function Unaccent($string){ return preg_replace('~&([a-z]{1,2})(acute|cedil|circ|grave|lig|orn|ring|slash|th|tilde|uml);~i', '$1', htmlentities($string, ENT_QUOTES, 'UTF-8'));}
$categorynamev = $row['name'];$categorynameu = ereg_replace('[^A-Za-z0-9]', '-', $categorynamev );
$categorynamev = $row['name'];$categorynamev = preg_replace('[\W]', ' ', normalizer_normalize($categorynamev));$categorynameu = ereg_replace('[^A-Za-z0-9]', '-', $categorynamev );