I have a class project that I don’t know very well how to tackle.
We have a website with mysql BBDD and we are creating an application for the mobile.The question is that the mobile application cannot connect to the database with mysqli_connect, mysqli_query like in php but without putting username and password in the code (project requirements)
We have to use something to be able to consult the data of the database and show it in the mobile application.
Can someone guide me a bit? Some very simple example to understand?
thanks for your help
>Solution :
For this requirement you will need to study up on API services, Look in details on how you can create REST API services over http using php, you can utilize any php frameworks for this and connect your mobile application to your API service.