pass the value of textfield from iphone to php
this is the running code,,
SocialCubixAppDelegate *app = (SocialCubixAppDelegate *)[[UIApplication sharedApplication]delegate];
NSLog(@"value in the appDelegate function is: %@", app.currentCountry);
NSString *urlString = [NSString stringWithFormat:@"http://localhost/work/farhan_work.php?user_id=%@",app.currentCountry];
NSString* escapedUrl = [urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8St ringEncoding];
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:escapedUrl]];
[[NSURLConnection alloc] initWithRequest:request delegate:self];
NSLog(@"urlString is :%@", urlString);*/
|