title: What is the easiest way to make an HTTP GET request with IOS 5?
body: <p>I am trying to send a suggestion from my app to a php file on my web server, I have tested the php script in my browser which sends an email to the user and stores the suggestion in my database, which all works fine.. And when running the following script I get a successful connection via IOS however i do not receive the results in my database..</p>
  
  <pre><code>NSString *post = [NSString stringWithFormat:@"http://blahblah.com/suggest.php?s=%@&amp;n=%@&amp;e=%@", suggestion, name, email];
  
      // Create the request.
      NSURLRequest *theRequest=[NSURLRequest requestWithURL:[NSURL URLWithString:post]
                                                cachePolicy:NSURLRequestUseProtocolCachePolicy
                                            timeoutInterval:60.0];
  
      // create the connection with the request
      // and start loading the data
      NSURLConnection *theConnection=[[NSURLConnection alloc] initWithRequest:theRequest delegate:self];
  
      if (theConnection) {
  
          NSLog(@"Connection establisted successfully");
  
      } else {
  
          NSLog(@"Connection failed.");
  
      }
  </code></pre>
  
  <p>I have checked all the strings and encoded all spaces with %20 etc.. Can anyone see any glaringly obvious reason why my script won't work?</p>
  
  <p>What is the easiest way to make a HTTP request from my app without opening safari?</p>