push Array

push Array

Hi,

I do have the following problems. I need to send an Array I created in JS back to the PHP. Actually this array shall just be stored to the $_SESSION variables and later on be returned back to JS.
When I open a JSON Object, I do get difficulties as soon as I got : or " inside the array values.
Can you tell me, what's the easiest way to do that?

The 2nd problem: Does smbd know a good plugin to do html_entities encoding/decoding in JS.

Thanks in advance