Welcome Guest, Not a member yet? Register   Sign In
Unknown character in string problem (just like squre with a question mark)
#1

[eluser]aruntvla[/eluser]
cocina (con electrodom�sticos)


this string is not fully inserting in to database..there is a symbol after m..how i insert it in to database

Code:
$new_curinfo = mysql_real_escape_string(htmlspecialchars(addslashes($data[2])));
         $new_curinfo =  iconv('Windows-1252', 'ASCII//TRANSLIT//IGNORE', $new_curinfo);
         $result = db_query("UPDATE content_type_propiedad SET field_prop_tipo_value = '$new_curinfo' WHERE vid='$count_new'");

This code working in localhost, and it convert that symbol to '?' but it showing error in server...is there any other method to remove that one....reply please


Messages In This Thread
Unknown character in string problem (just like squre with a question mark) - by El Forum - 06-02-2010, 06:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB