I'm using friendly urls and to generate the link, I'm using it this way:
$string = $jm->NomeCategoria; // retorna roupa de verão
$hifen = preg_replace('/[ -]+/' , '-' , $string); // incluo o hífen
$acentos = preg_replace( '/['^~\'"]/', null...
asked by
20.10.2017 / 18:06