title: Echo table in PHP
body: <p>So far, I got my code to read from a .txt file, parse the info and output via html.  My question is how can I can echo my $name and $email variables into a two-column table? </p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;?php
  
  // Read the file into an array
  $users = file("names.txt");
  
  // Cycle through the array
  foreach ($users as $user) {
  
      // Parse the line, retriving the name and e-mail address
      list($name, $email) = explode(" ", $user);
  
      // Remove newline from $email
      $email = trim($email);
  
      // Output the data...how could I do this with a two-column table?
      echo "&lt;a href=\"mailto:$email\"&gt;$name&lt;/a&gt; &lt;br /&gt;";
  
  }
  
  ?&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>