JSON parsing in Android code is done correctly.
1234 is not the password in the database. Please check if your condition is correct.
if($data_pwd==$old_pass){
}
else
{
$json = array("status" => 0, "msg" => "Request method not accepted");
}
Check your php condition properly and make sure the you are passing the correct values.
1
solved How can I parse data from server using Json?