Database queries - WitsUpWesley/WitsUp GitHub Wiki
Whenever records or data (except resources since we will be making use of Firebase) needs to be retrieved by a sql query through a php file which is stored on the lamp server. The URL where the php file is stored needs to be specified as well as any parameters (local parameters are sent to the php files sql query whenever a sql query is executed, the php file sends this query to the database and returns the result which is further returned to the initial request location within the class) required to make that query (AsyncHttpPost Class).