Decoding with html_entity_decode, and then having problem with
- by AleGore
After decoding the special character with the html_entity_decode function, I get spaces in replace of entities. My problem is when I check if if ($decoded_str[5] == ' ') it isn't true, though in $decoded_str[5] there is a space that was before decoding. How to settle the matter? I need to be able to check it like this way: if ($decoded_str[5] == ' ')