I am passing arguments to a PHP webservice like this:
localhost/webservice1.php?method=browse®=001&name=john
But it gives the Notice Undefined Index: method
My PHP code is like this:
$methd = $_POST['method'];
if($methd=="save")
save();
if($methd=="signup")
signup();
if($methd=="browse")
browse();
Parameters in the query string are accessed with the $_GET array, so use