Here is my code it looks ok
But it crash when running
NSString *urlAddress = [NSString stringWithFormat:@"http://www....php"];
NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];
[request setURL:[NSURL URLWithString:urlAddress]];
[request setHTTPMethod:@"GET"];
NSData *returnData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
NSLog(@"NSData is :%@",returnData);
NSArray *results = [[NSArray alloc] initWithDasta:returnData];
NSLog(@"NSArray is :%@",results);
I think that's an incompatible Object-C type initializing NSArray