title: php reading textfile word by word
body: <p>I have a textfile which contain words like that:</p>
  
  <pre class="lang-none prettyprint-override"><code>Yigit Ozkavci 19
  Efe Ozkavci 18
  Yeni Bar 35
  .
  .
  .
  </code></pre>
  
  <p>They are exist in database and also in textfile, what I want to do is to read those datas and get them in seperate variables, I know how to read a file line by line, but with a foreach loop can I echo them seperately and send data to another php file ? </p>