ise una funcion para renplazar Ñ
Código PHP:
function getUrl($strText){
$strText = strtr(strtolower(htmlspecialchars_decode($strText)),"áéíóúñ","aeioun");
$url = str_replace(array(" ","\r\n","\n","+","(",")"),"-",$strText);
$url = str_replace ("&","y", $url);
$url = preg_replace(array("/[^a-zA-Z0-9\-]/","/[\-]+/","/<[^>]*>/"),array("-","-","-"),$url);
return $url;
}
quiero para mi url y me sale asi:
/10-marisol-cavero-sey-209-or-fiscal-mp3/
y quisiera qeu me salga asi:
/10-marisol-cavero-senor-fiscal-mp3/
por favor ayundenme en que estoy fallando amigos