3 Replies Latest reply on Oct 27, 2016 9:42 PM by VectorP

    Where should my php files go in a PhoneGap project? (Web service)

    marko22609446

      Hi. I'm new to building apps and I'm currently trying to build an iOS mobile app through the use of jQuery Mobile and PhoneGap.

       

      My question is; where should my php files be stored or placed when trying to access information from a MySQL database that I have stored on a server?

       

      I know that the html, javascript and css files are stored in the www folder in the PhoneGap projects folder, but where should I store my php files?

       

      For example, say I create some php code to communicate with said database. I believe this is a web service. Where should my files be stored, so as to allow for a successful connection and retrieval of data (possibly in JSON format)?

       

      Any help would be much appreciated. I'm trying to get my head around the basics.