Create HTML table with headers in a vertical column dynamically with laravel?
<p>I've been hunting around, but all the answers and documentation on this is for tables that aren't dynamically generating everything. </p>

<p>This is my blade file:</p>

<pre><code>@extends('layout')

@section('content')
    &lt;h1&gt;User Profile Data&lt;/h1&gt;
        &lt;table class="table table-striped"&gt;
        &lt;tr&gt;
            @foreach ($columns as $column =&gt; $name)

               &lt;th&gt;&lt;strong&gt; {{ $name }} &lt;/strong&gt;&lt;/th&gt;

            @endforeach

            @foreach ($profile as $person)

                @foreach ($person as $name)

                   &lt;td&gt; {{ $name }} &lt;/td&gt;

                @endforeach

            @endforeach
        &lt;/tr&gt;
        &lt;/table&gt;
@stop
</code></pre>

<p>It's all working, except for one problem, the heads go horizontally, rather than vertically. I'd like to be able to automatically populate the data from the database and have it displayed side by side. </p>

<p>Like so:</p>

<pre><code>Name: John
Age: 25
Height: 176
etc. 
</code></pre>

<p>What am I missing?</p>