php JQuery ajax implementation

hasan

New Member
i am trying to use the Jquery ajax function to call a php page to run a query and return xm the only problem is i dont know how to read the Jquery API page\[code\]http://api.jquery.com/jQuery.ajax/\[/code\]it gives this example \[code\]$.ajax({ url: "test.html", context: document.body, success: function(){ $(this).addClass("done"); }});\[/code\]is there a better example to call a php page to run a sql query and return a json i can encode
 
Back
Top