I currently have the following code
-(void)returnToSQL
{
NSURL *url = [NSURL URLWithString:@"http://babyfood.30ptdesign.com\....php"];
NSData *dataUrl = [NSData dataWithContentsOfURL:url];
NSString *strResult = [[NSString alloc] initWithData:dataUrl encoding:NSUTF8StringEncoding];
NSLog(@"%@",strResult);
}
I need to pass an NSString
named _username
into a variable of the same name in the PHP file, without using ASIFormDataRequest
.
Is there any way to do this? I haven't been able to find any.