I need to pass a value from client.php to my JavaScript. i have tried so many ways but i could not get what $result in javascript. this is my client side webService code.
require 'lib/nusoap.php';
$client = new nusoap_client("http://localhost/DemoWebService/service.php?wsdl");
$result = $client -> call('FunctionName',
array("UserName" => "$UserName" ,"Password"=>"$Password", "Add"=>"$Add" )
);
return $result ;