title: How to fix "SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list'"
body: <p>I'm trying to make a form to edit data of a specific item in a DB. When I submit I get this error:</p>
  <pre><code> SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' (SQL: update `items` set `0` = Title, `1` = ? where `ID` = 2)
  </code></pre>
  <p>This is how the form redirects:</p>
  <pre><code>&lt;form action=&quot;{{ url('updateItem/'.$item-&gt;ID)}}&quot; method=&quot;post&quot; id=&quot;updateForm&quot;&gt;
  </code></pre>
  <p>Function in controller:</p>
  <pre><code>public function updateItem($id, Request $request)
  {
      $Title = $request-&gt;input('Title');
      $Kool = $request-&gt;input('Koolhydraten');
      $Vet = $request-&gt;input('Vet');
      $Eiwitten = $request-&gt;input('Eiwitten');
      $Suikers = $request-&gt;input('Suikers');
  
      Item::where('ID', $id)
          -&gt;update(['Title', $Title])
          -&gt;update(['Koolhydraten', $Kool])
          -&gt;update(['Vet', $Vet])
          -&gt;update(['Eiwitten', $Eiwitten])
          -&gt;update(['Suikers', $Suikers]);
      return redirect('/');
  }
  </code></pre>