title: Data from PHP, to XCODE LABEL.TEXT
body: <p>I am trying my first xcode-project to retrieve data from a php file. The variable that I need to retrieve in the php file will be text based. The output should be outputted in a label OR textfield within my project.</p>
  
  <p>I have problems with the coding and need some help with it...</p>
  
  <p>This is the current structure of my php file :</p>
  
  <pre><code>&lt;?php
  $idwlctxt = hello;
  echo $idwlctxt;
  ?&gt;
  </code></pre>
  
  <p>This is my coding so far. I tried to compile it from other examples I found:</p>
  
  <pre><code>NSString *urlString = @"https://WEBSITE/test.php?";
  NSData * dataURL = [NSData dataWithContentsOfURL:[NSURL URLWithString:urlString]];
  NSString * result = [[NSString alloc] initWithData:dataURL encoding:NSUTF8StringEncoding];
  </code></pre>