I have a javascript object (with stringify, i can make it in json format), like that:
var jsObject ={'elem1':'val1', 'elem2': {'elem21':'val1', 'elem22': 'val2'}};
I want to save it in my already prepared database, and that using php of course. My problem, is how can i communicate with that js object so that i can save its elements into my db using php? for example, i my use json_encode()
any help
$_POST[]or$_GET[]super global.