i have web service in php which contain method (login) that should return false or associated array !
iam trying to use it in c# , but c# keep telling me that i must use object to handle returned data and so i did , but i cant parse anything of data
this is a glimpse of code
object user;
user = Chat.login(txtUsername.Text,txtPassword.Text);
if (user.Equals(false))
{
MessageBox.Show("Error !");
}
else {
//i wanna here for example show user['name'] for example
}
the above code works fine if user entered wrong data , and if it's in system it return mixed data (array of user data) but i can't use it
userwhen the login was successful. What type is it of?