Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to query mysql data without username and password in code

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.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading