Welcome Guest, Not a member yet? Register   Sign In
looking for the Ñ
#13

[eluser]alebenson[/eluser]
Hey
The db charset its wierdone, that my provider dont let me change, dont know why, but i dont have problems saving any character

well im trying to add a thing to the validation process and there change the 'ñ' to ñi did a MY_validation library

Code:
function latinchar($str)
{
    $str = str_replace('ñ','ñ',$str);
    return $str;
}

and it works, but when i see the HTML code looks like <p>Feliz Año Nuevo</p>
(i know it works coz ive try it with other letters)
so the replace is not taking the & n t i l d e ; as characters, is taking it as a code for ñ, again, im with the f****** ñ


Messages In This Thread
looking for the Ñ - by El Forum - 03-05-2008, 08:40 PM
looking for the Ñ - by El Forum - 03-06-2008, 01:37 AM
looking for the Ñ - by El Forum - 03-06-2008, 05:28 AM
looking for the Ñ - by El Forum - 03-06-2008, 08:47 AM
looking for the Ñ - by El Forum - 03-06-2008, 08:53 AM
looking for the Ñ - by El Forum - 03-06-2008, 10:11 AM
looking for the Ñ - by El Forum - 03-06-2008, 10:19 AM
looking for the Ñ - by El Forum - 03-06-2008, 01:40 PM
looking for the Ñ - by El Forum - 03-06-2008, 04:02 PM
looking for the Ñ - by El Forum - 03-07-2008, 01:17 AM
looking for the Ñ - by El Forum - 03-07-2008, 07:30 AM
looking for the Ñ - by El Forum - 03-07-2008, 07:35 AM
looking for the Ñ - by El Forum - 03-07-2008, 08:32 AM
looking for the Ñ - by El Forum - 03-07-2008, 08:52 AM
looking for the Ñ - by El Forum - 03-07-2008, 08:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB