I faced a similar problem....but i am using Java...
presents a class which is a
part of a downloadable API which has an escape function...
U can see if a similar thing is available for PHP...maybe someone faced a
similar problem... :)
On 12/19/06, canixs <canixs@...> wrote:
> Hello all,
> This is my first post here. I am currently working on a dynamic scripts
> json format for the website that I attempt to create. I only familiar
> with php page only. I used php class to convert the xml data to json
> object on fly at the server and send it to client browser.
> My question that I have is: What is the proper way to escape the
> rule either at client side or server side, I would prefer server side
> since I like the best experience for visitor. I have sometime ran into
> be able to parse a json data from the server and generate the error due
> I would appreciate any suggestion.
[Non-text portions of this message have been removed]