html_entity_decode() and < > characters
Posted: Tue Nov 03, 2009 8:12 am
Hi,
I am trying to encode a string using html_entity_decode(). The string looks like this: "bla <bli> bla".
Unfortunately html_entity_decode() cuts out <bli> from the string and returns "bla bla". I tried using < > instead of < > but no change <bli> is cut out too. If submitting the string "bla <> bla" html_entity_decode() returns "bla <> bla".
Any suggestions please how I could make it leave "<bli>" unchanged?
Tiha
I am trying to encode a string using html_entity_decode(). The string looks like this: "bla <bli> bla".
Unfortunately html_entity_decode() cuts out <bli> from the string and returns "bla bla". I tried using < > instead of < > but no change <bli> is cut out too. If submitting the string "bla <> bla" html_entity_decode() returns "bla <> bla".
Any suggestions please how I could make it leave "<bli>" unchanged?
Tiha