title: NSURL not working
body: <p>I wanted to ask if anyone could help he get this code to work. Nothing is showing up in my MySQL database. Thanks, enbr.</p>
  
  <pre><code>NSString *urlstr = [[NSString alloc] initWithFormat:@"http://mysite.come/myapp/submitrating.php?name=%@&amp;comment=%@&amp;rating=%@",
                      [selectedItem objectForKey:@"name"], comment.text, selectedRating];
  NSString *urlstrEncoded = [urlstr stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
  NSURL *url = [[NSURL alloc] initWithString:urlstrEncoded];
  [urlstr release];
  [url release];
  </code></pre>