title: How do I set values of variables that are in url with Objective c
body: <p>Hello I am trying to set the values of variables of a php file in objective c.  It works when I put the url in a browser.  But I am wondering on how to set the variables through objective c.<br>
  I know how to connect to a php file in objective c.  I believe this is how you set the variables but it isn't working.  I think it has to do with the variable having to have quotation marks in the url around it.<br>
  For example here:     </p>
  
  <pre><code>http://localhost/MyPhpStuff/stuff/write.php?name="testName"&amp;username="testUsername"&amp;password="testPassword"
  
  
  NSString *strURL = [NSString 
  stringWithFormat:@"http://localhost/MyPhpStuff/stuff/write.php?name=%@"
  ,nameTextField.text, "&amp;username=%@", userNameTextField.text, 
  "&amp;password=%@", passwordTextField.text];
  </code></pre>