How i can send my Object correctly to PHP? There is a JQuery script that get form values and convert them in JSON Object: jQuery.fn.serializeObject function() var arrayData, objectData arrayData Programming Blog - PHP, MySQL, Ajax, jQuery, Web Design, Blog Tips and More.this is simple PHP code which converts MySQL rows into JSON format, we have already posted this tutorial. using jsonencode() we can convert it easily. and i have taken here the main root object as "tutorial". 1) A collection of name value or key value pairs, which are called objects in most of the languages. Learn AJAX, jQuery and JSON from scratch at Udemy.com.This example program basically gets input from the textfield of the form and sends it to a file named sample. php. Steps to use that object in php: obj jsondecode(POST["myData"]) echo obj->varNot the answer youre looking for? Browse other questions tagged php jquery ajax json or ask your own question. Click here to see all the options you can set. [cc langjs] jQuery.ajax( url: process. phpHI! how can I receive json from myqli query instead of making the json object in the php file?Create Custom Tags for Custom Post New Comments. sameera on 10 CSS HTML Form Designs.