title: PHP read text file and display formatted results
body: <p>My goal is to use PHP to read data from a text file and display a page based on said data.</p>
  
  <p>The text file would look something like this...</p>
  
  <pre><code>joe smith|ceo|chief executive officer|10|14|126
  Jane Doe|cfo|chief financial officer|8|12|94
  </code></pre>
  
  <p>What I need to be able to do is read the text file, extract each of the values, separated by the "|" token, and format the output in a table-like display. When reading the text file, the first column (name) equates to a picture, located in a subfolder. Therefore, the output should look something like this...</p>
  
  <p><a href="https://i.stack.imgur.com/MqkKj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MqkKj.png" alt="sample output"></a></p>
  
  <p>Can anyone out there assist with this request?</p>
  
  <p>Thanks in advance.</p>