I’m currently working on a solution in php which queries an sql database. However, i want other website to be able to query the database (or the functions in php). I search google, but i can’t find out how to expose these functions to javascript due to crossdomain policies(i think).
Anyone know how I can do that?
Try soap or rest.
If I understood right… if you want other sites to access your Database…
Obviously…use jQuery :p to make the calls