title: How to make html table using foreach with fix first column?
body: <pre><code>&lt;table&gt;
  
      &lt;colgroup&gt;&lt;/colgroup&gt;
      &lt;colgroup&gt;&lt;/colgroup&gt;
      &lt;colgroup&gt;&lt;/colgroup&gt;
      &lt;colgroup&gt;&lt;/colgroup&gt;
  
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;&amp;nbsp;&lt;/th&gt;
              @foreach($cloud as $cu)
              &lt;th&gt;
                  &lt;h2&gt;{{$cu-&gt;name}}&lt;/h2&gt;&lt;br&gt;
                  &lt;h3 style="font-size: 35px;"&gt;&lt;sup class="price-sign"&gt;$&lt;/sup&gt;{{$cu-&gt;price}}&lt;span style="font-size: large;"&gt;/{{trans('file.month')}}&lt;/span&gt;&lt;/h3&gt;
                  &lt;p&gt;{{$cu-&gt;description}}&lt;/p&gt;
              &lt;/th&gt;
              @endforeach
          &lt;/tr&gt;
      &lt;/thead&gt;
  
      &lt;tfoot&gt;
  
          &lt;tr&gt;
              &lt;th&gt;&amp;nbsp;&lt;/th&gt;
               @foreach($cloud as $cu)
              &lt;td&gt;
              &lt;a href="/deatalis/{{$cu-&gt;id}}" style="text-decoration: none;" &gt;More Details
              &lt;/a&gt;
  
  
  
              &lt;/td&gt;
              @endforeach
          &lt;/tr&gt;
  
      &lt;/tfoot&gt;
  
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;th&gt;&lt;i class="icon-user"&gt;&lt;/i&gt;
              Members Number 
              &lt;span&gt;Cras mattis consectetur purus sit amet fermentum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.&lt;/span&gt;
              &lt;/th&gt;
              @foreach($cloud as $cu)
              &lt;td&gt;{{$cu-&gt;users}}&lt;/td&gt;
              @endforeach
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;th&gt;&lt;i class="icon-drawer"&gt;&lt;/i&gt;
              Storage 
              &lt;span&gt;Cras mattis consectetur purus sit amet fermentum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.&lt;/span&gt;
              &lt;/th&gt;
              @foreach($cloud as $cu)
              &lt;td&gt;{{$cu-&gt;space}}&lt;/td&gt;
              @endforeach
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;th&gt;&lt;i class="icon-layers"&gt;&lt;/i&gt;
              Backups 
              &lt;span&gt;Cras mattis consectetur purus sit amet fermentum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.&lt;/span&gt;
              &lt;/th&gt;
              @foreach($cloud as $cu)
              &lt;td&gt;{{$cu-&gt;backup}}&lt;/td&gt;
              @endforeach
          &lt;/tr&gt;
  
      &lt;/tbody&gt;
  
  &lt;/table&gt;
  </code></pre>
  
  <p>I want to make this table :
  in this case, I make foreach for every row include the first column title plus the for each for the same row and the same for every form!
  This is not useful when I make a form for all table to send parameter!</p>
  
  <p><a href="https://i.stack.imgur.com/PWLM6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PWLM6.png" alt="enter image description here"></a></p>
  
  <p><strong>So I want to make the first column fixed and then make it with one foreach</strong> 
  Any Help!
  thanks</p>