我想要改变我数据库中的形象,以便用我的“智者”来检索它,并且为了做到这一点,我没有这样做。
Inside my button onTouch i have written this code
//create string contain url address for php file, the file name is phpFile.php,it receives parameter :name
NSString *strURL=[NSString stringWithFormat:@"....my.php","hhhhh"];
//to execute php code
NSData *dataURL=[NSData dataWithContentsOfURL:[NSURL URLWithString:strURL]];
//to receive the returned Result
NSString *strResult = [[[NSString alloc] initWithData:dataURL encoding:NSUTF8StringEncoding]self];
NSLog(@"%@",strResult);