Possible Duplicate:
json_encode is returning NULL?
We have a php web-service running that communicates with a iPhone app. I am encoding all the desired data into json with json_encode. But when I try to encode something that contains HTML tags I get null as value.
I know this got something to do with our php version we are running 5.2.3 if I recall correctly, and I know this is fixed in version 5.4.
So my question is, can this be done easily without upgrading our php version.