wolves Posted March 16, 2006 Share Posted March 16, 2006 how to convert this "´" html char to real value of it? Quote Link to comment 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) Quote Link to comment 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 . . . . Quote Link to comment 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 Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.