Linked Questions

Popular Questions

Pass string variable from java to php function

Asked by At

I am a beginner java and php I must pass a string variable from Java client to php server using WebView

Is what I am doing right?

In java side:

String Coords=CoordsString;
String PHPPagePath="" + CoordsString"; 

and on the php side: ReceiveLocation.php

function GetCoords($x)
   echo $x;

Is this the right way to pass the parameter Coords from Java Client to PHP Server Function?

Related Questions