Posted By

halk on 11/16/12


Tagged

mysql jquery json api JSONP getJson


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

balmeet80


JSONP Public API with jQuery getJSON (callback) (MySql)


 / Published in: PHP
 

This is a public jsonp api. I use it with jQuery Like This: $.getJSON("http://yourdomain/yourpath/jsonpapi.php?method=getSchema&params=yourdb_name&jsoncallback=?", function(data){ //DO SOMETHING WITH THE DATA HERE } );

Report this snippet  

You need to login to post a comment.