I have a database with 2 tables that contain spanishsh characters.
I need to replaces its with english characters. i.e: á with a, etc
I try with :
$from="á";
$to="a";
$Link = mysql_connect ($localhost, $user, $password) or die(mysql_error());
mysql_select_db($database_name) or die(mysql_error());
mysql_query("UPDATE $articles SET
field1=REPLACE(field1,'".$from."','".$to."'),
field2=REPLACE(field2,'".$from."','".$to."')
");
but it don't make any changes because (I suppose) don't searchs all the characters
\anybody can help me?
Thanks in advance