I would like to pass multiple parameters from the iphone sdk to a server-side php which interfaces with a mySQL database.
i found some answers on how to do this, but i'm having a hard time figuring out how to include several parameters.
what i have right now is
- (IBAction)sendButtonPressed:(id)sender
{
NSString *urlstr = [[NSString alloc] initWithFormat:@"http://server.com/file.php?date=%d", theDate];
NSURL *url = [[NSURL alloc] initWithString:urlstr];
[urlstr release];
[url release];
}
which would work for 1 parameter, but what i'm looking for would be something like
http://server.com/file.php?date=value&time=value&category=value&tags=value&entry=value
how would i going about doing this?