title: Displaying multiple columns of data [from a PHP list] in a table in Laravel View
body: <p>I currently am using a Laravel View with the following HTML that displays data onto a table using the <code>&lt;td&gt;</code> tag. </p>
  
  <pre><code>@if($unrostered)
      &lt;table class="table table-hover table-striped"&gt;
          &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;#&lt;/th&gt;
              &lt;th&gt;Name&lt;/th&gt;
          &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
              &lt;?php $index = 1; ?&gt;
              @foreach($unrostered as $name =&gt; $profile)
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;?= $index; $index++; ?&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;a
                              href="{{ $profile }}"&gt;{{ $name }}
                          &lt;/a&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              @endforeach
          &lt;/tbody&gt;
      &lt;/table&gt;
  @endif
  </code></pre>
  
  <p>I am currently just using one associative list called <code>$unrostered</code> which contains the key and value called <code>name</code> and <code>profile</code>. This shows two columns of data, like this:</p>
  
  <p><img src="https://i.stack.imgur.com/fnKUb.png" alt="enter image description here"></p>
  
  <p>As you can see, the <code>name</code> variable is the name of the person, and the <code>profile</code> is a URL that links to their profile.</p>
  
  <p>My HTML skills aren't good. I want to pass in multiple lists [of the same length] into my HTML table, so each list occupies their own column.</p>
  
  <p>I tried juggling the row and data tags, however, all I was able to achieve were that all the data points occupied only one row instead of columns.</p>