jordanwb Posted October 8, 2008 Share Posted October 8, 2008 Somewhere in the following code: print htmlentities(!get_magic_quotes_gpc() ? addslashes ($_POST['breadcrumb_seperator']) : $_POST['breadcrumb_seperator']); Any record of in $_POST['breadcrumb_seperator'] gets preceded by a  Before this line is ran $_POST['breadcrumb_seperator'] contains the value of " >> " Link to comment https://forums.phpfreaks.com/topic/127559-solved-nbsp-gets-preceded-by-a-acirc/ Share on other sites More sharing options...
jordanwb Posted October 8, 2008 Author Share Posted October 8, 2008 Nevermind I'm an idiot. :-\ Link to comment https://forums.phpfreaks.com/topic/127559-solved-nbsp-gets-preceded-by-a-acirc/#findComment-659983 Share on other sites More sharing options...
jordanwb Posted October 8, 2008 Author Share Posted October 8, 2008 I changed the code to this: var_dump ($_POST['breadcrumb_seperator']); var_dump (htmlentities($_POST['breadcrumb_seperator'])); and this is the output string(6) " >> " string(34) "Â >>Â " I think I should report this as a bug Link to comment https://forums.phpfreaks.com/topic/127559-solved-nbsp-gets-preceded-by-a-acirc/#findComment-660014 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.