RDC is a middleware server that makes it simple to safely connect clients and remote SQL database servers. jRDC2 is the latest version. All new projects should use this version. jRDC2 is made of two components: - B4J server. The server receives the requests from the clients, issues the SQL...
RDC is a middleware server that makes it simple to safely connect clients and remote SQL database servers. jRDC2 is the latest version. All new projects should use this version. jRDC2 is made of two components: - B4J server. The server receives the requests from the clients, issues the SQL...
i saw this post using B4J server not XAMMP. so i decide to use PHP. unfortunately error code display when use this on browser 127.0.0.1/persons/persons.php
Register User example using OkHttpUtils2 Updates: This project is deprecated. Please check User Login + MySQL PHP API https://www.b4x.com/android/forum/threads/user-login-mysql-php-api.117826/ Introduction This code snippet is based on the thread posted by KMatle in Tutorials &...
Since you are posting in B4A forum, I assume you made a mistake in B4A code when calling the PHP web service.
Here is an example:
B4X:
Dim job As HttpJob
job.Initialize("", Me)
job.Download2("http://192.168.50.6/persons/persons.php", Array As String("action", "CountPersons"))
Wait For (job) JobDone (job As HttpJob)
If job.Success Then
Log(job.GetString)
Else
Log(job.ErrorMessage)
End If
job.Release
Since you are posting in B4A forum, I assume you made a mistake in B4A code when calling the PHP web service.
Here is an example:
B4X:
Dim job As HttpJob
job.Initialize("", Me)
job.Download2("http://192.168.50.6/persons/persons.php", Array As String("action", "CountPersons"))
Wait For (job) JobDone (job As HttpJob)
If job.Success Then
Log(job.GetString)
Else
Log(job.ErrorMessage)
End If
job.Release