How to preserve variable type when posting to php from javascript -
when use ajax post data javascript php, php $_post variables strings. there way preserve variable type when posting. eg when posting boolean true want boolean true , not string 'true'.
you can use json format , php json parser you.
you can find example here:
Comments
Post a Comment