android - How to connect to mysql database using only ajax and javascript? -



android - How to connect to mysql database using only ajax and javascript? -

i trying create app using phone gap makes users login in. know how connect mysql database using php have no clue on how connect using ajax. hope show how done or if there way connect mysql database in phonegap.

thank you

you can't straight connect mysql database client side.. not right (but i've heard people doing similar mongodb).

anyway, right approach is:

you have have server side code (web service) methods connect database, perform crud operations. application api. in client utilize api. if on javascrip, using of jquery best.

javascript android mysql ajax cordova

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -