I am developing an iPhone App using JSON framework, I am calling a PHP script to update MySQL database on local server. Using these code:\[code\]NSString *jsonString = [sendData JSONRepresentation];NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init];NSString*post = [NSString stringWithFormat"&json=%@", jsonString];NSData*postData = http://stackoverflow.com/questions/3656983/[post dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:NO];[request setURL:[NSURL URLWithString"http://localhost:8888/update.php"]];[request setHTTPMethod"POST"];[request setValue"application/x-www-form-urlencoded" forHTTPHeaderField"content-type"];[request setHTTPBodyostData];\[/code\]I would like to ask:What is the PHP script to get data from that request, and how I can decode JSON data to PHP object to update to database?Any help would be appreciated.