I have the following code and I cannot work out from the IOS developer documentation how to add some selection criteria (for the PHP) to the url
My php works when I add /?category=sports but how to I get this added to my kGETUrl string
NSURL *url = [NSURL URLWithString:kGETUrl];
NSData *data = [NSData dataWithContentsOfURL:url];
use
stringWithFormatto add parameters.if you want to get sports part from a variable;