I am trying to make an app using phone gap that makes users login in. I know how to connect to a mysql database using php but I have no clue on how to connect to it using ajax. I hope someone could show how its done or if there is another way to connect to a mysql database in phonegap.
Thank You
You can’t directly connect to MySQL database from client side.. This is not exactly correct (but I’ve heard some people doing similar with MongoDB).
Anyway, right approach for this is: