title: How extract data from line
body: <p>Hello and thank´s for the help in advanced</p>
  <p><strong>I want extract data globally from one line, but don´t get results, i put my code</strong></p>
  <p><strong>Function read line data</strong></p>
  <pre><code> function line_data($data)
      {
      $data_exp=explode(&quot;,&quot;,$data);
      
      foreach($data_exp as $data_end)
      {
      echo $data_end;
      }
      
      return $data_end;
      }
  </code></pre>
  <p><strong>Php Script Running</strong></p>
  <pre><code>$line_1=&quot;one,two,three,four&quot;;
  $line_2=array($numbers);
  
  $line_end=&quot;&quot;.$line_1.&quot;,&quot;.$line_2.&quot;&quot;;
  
  line_data($line_end);
  </code></pre>
  <p><strong>line_1</strong> have normal data, and <strong>line_2</strong> have one array and put all in one string called <strong>line_end</strong>, and process inside function for extract all values, normal values and values from array,but i can´t get works</p>
  <p><strong>Sorry if don´t understand something English no native, thank´s</strong></p>