title: Php code inside array
body: <p>How can i add the "for" function output inside the array? Thanks</p>
  
  <pre><code>for($idid = 0; $idid &lt;= $say; $idid++) {
      echo "@";
      print_r($string[$idid]['screen_name']);
      echo " ";
  }
  
  $url = "https://api.twitter.com/1.1/statuses/update.json";
  $twitter = new TwitterAPIExchange($settings);
  $requestMethod = 'POST';
  $response = $twitter-&gt;setPostfields(
      array(
          'status' =&gt; "I NEED TO ADD FOR FUNCTION OUTPUT HERE")
  )
      -&gt;buildOauth($url, $requestMethod)
      -&gt;performRequest();
  </code></pre>