Hello this is my first time using basic4android. I am a high school student and I wanted to develop an application for my research but I am having a hard time integrating sql to my code. I am using xampp for mysql and I wanted to ask, where do you upload your php files online??
and if you have a code or app example for integrating mysql to b4a please help thanks
It's all about calling a php script running under Apache on a server (XAMPP is for test only). In that script you open a connection to the MySQL DB and then execute statements. Return will be an associated array. This will be returned to your app (JSON formatted would be ideal).
Based on @Peter Simpson's code (here), I developed a library that allows you to connect directly to MySql, MsSql (for the moment) databases with B4A and B4J. To be clear, you don't need JRDC to connect to the database located on a server (I am working on a version for b4i, but it is only...