wolves Posted March 16, 2006 Share Posted March 16, 2006 how to convert this "´" html char to real value of it? Link to comment https://forums.phpfreaks.com/topic/5102-html-chars/ Share on other sites More sharing options...
ober Posted March 16, 2006 Share Posted March 16, 2006 Use a semicolon after or it or the value instead of the name: & # 1 8 0 ; (without the spaces) Link to comment https://forums.phpfreaks.com/topic/5102-html-chars/#findComment-18094 Share on other sites More sharing options...
wolves Posted March 16, 2006 Author Share Posted March 16, 2006 I can't modify the string that I get, because it's became from a thirdparty scriptIt's ok to output in the broswer, but I can't use for sql selects/inserts . . . . Link to comment https://forums.phpfreaks.com/topic/5102-html-chars/#findComment-18096 Share on other sites More sharing options...
kenrbnsn Posted March 16, 2006 Share Posted March 16, 2006 Are you using the function mysql_real_escape_string() on your data being inserted into your database? If not, you should be.Ken Link to comment https://forums.phpfreaks.com/topic/5102-html-chars/#findComment-18100 Share on other sites More sharing options...
wolves Posted March 16, 2006 Author Share Posted March 16, 2006 I need the real value of á, &bacute . .. . . ..php doesn't have a native function to convert it? Link to comment https://forums.phpfreaks.com/topic/5102-html-chars/#findComment-18102 Share on other sites More sharing options...
kenrbnsn Posted March 16, 2006 Share Posted March 16, 2006 Look at the function [a href=\"http://www.php.net/html_entity_decode\" target=\"_blank\"]html_entity_decode[/a]().Ken Link to comment https://forums.phpfreaks.com/topic/5102-html-chars/#findComment-18112 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.