I am creating my first Android app which requires access to MySQL database. My web service is hosted on my web server to allow the app and database to exchange data.
If two users are using the app at the same time, two instances of my program will be running. My PHP script returns a JSON array with some database results in this file on my web server -
Will the second customers data overwrite the first customers data, or as two different instances have been created, there will not be a problem?
Also is this thread safe? Should I create a new thread for each new customer?
As zoran404 stated "All clients on the server will have the impression as if the server is working just for them. They wont interact."