title: SQLSTATE[42S22]: Column not found: 1054 Unknown column in my code
body: <p>I have the following error in the code: </p>
  
  <blockquote>
    <p>"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'introducido' in 'field list' (SQL: insert into <code>cars</code> (<code>introducido</code>, <code>modelo</code>, <code>producido_en</code>, <code>updated_at</code>, <code>created_at</code>) values (?, sdfsdf, ?, 2019-06-03 08:18:17, 2019-06-03 08:18:17))</p>
  </blockquote>
  
  <p>And I do not know how to solve, I leave my code:</p>
  
  <p><strong>CarController.php</strong></p>
  
  <pre class="lang-php prettyprint-override"><code>?php
  
  namespace App\Http\Controllers;
  
  use App\Car;
  
  use Illuminate\Http\Request;
  
  
  class CarController extends Controller
  {
      public function crear(Request $request){
  
          $introducido= $request['introducido'];
  
          $modelo=$request['modelo'];
  
          $producido_en=$request['producido_en'];
  
          $car=new Car();
  
          $car-&gt;introducido=$introducido;
  
          $car-&gt;modelo=$modelo;
  
          $car-&gt;producido_en=$producido_en;
  
          $car-&gt; save ();
  
          return redirect ()-&gt;b ack();
      }
  
  
      public function mostrar(){
  
      }
  }
  </code></pre>
  
  <p><strong>Index-blade</strong></p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  
  &lt;html lang="es"&gt;
  
  &lt;head&gt;
  
      &lt;meta charset="UTF-8"&gt;
  
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
  
      &lt;meta http-equiv="X-UA-Compatible" content="ie=edge"&gt;
  
      &lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"&gt;
  
      &lt;title&gt;Aplicacion de autos&lt;/title&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
      &lt;div class="container-fluid"&gt;
  
          &lt;div class="row"&gt;
  
              &lt;div class="col-md-6"&gt;&lt;/div&gt;
  
                  &lt;form action="{{route('cars.crear')}}" method="post"&gt;
  
                     @csrf
  
                      &lt;div class="row form-group"&gt;
  
                          &lt;div class="col-md-12"&gt;
  
                              &lt;label for=""&gt;Introducir:&lt;/label&gt;
  
                              &lt;input type="text" name="introducir" class="form-control" required&gt;
  
                          &lt;/div&gt;
  
                      &lt;/div&gt;
  
                      &lt;div class="row form-group"&gt;
  
                          &lt;div class="col-md-12"&gt;
  
                              &lt;label for=""&gt;Modelo:&lt;/label&gt;
  
                              &lt;input type="text" name="modelo" class="form-control" required&gt;
  
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="row form-group"&gt;
  
                          &lt;div class="col-md-12"&gt;
  
                              &lt;label for=""&gt;Producido_en:&lt;/label&gt;
  
                              &lt;input type="date" name="producido-en" class="form-control" required&gt;
  
                          &lt;/div&gt;
  
                      &lt;/div&gt;
  
                      &lt;div class="row form-group"&gt;
  
                          &lt;div class="col-md-12"&gt;
  
                              &lt;button type="submit" class="btm btm-success w-50 float-right"&gt;Crear&lt;/button&gt;
  
                          &lt;/div&gt;
  
                      &lt;/div&gt;
  
                  &lt;/form&gt;
  
              &lt;/div&gt; 
  
              &lt;div class="col-md-6"&gt;
  
                  &lt;table class="table table-striped table-hover"&gt;
  
                      &lt;tr&gt;
  
                          &lt;th&gt;Introducir&lt;/th&gt;
  
                          &lt;th&gt;Modelo&lt;/th&gt;
  
                          &lt;th&gt;Producido_en&lt;/th&gt;
  
                      &lt;/tr&gt;
  
                      &lt;tr&gt;
  
                          &lt;td&gt;&lt;/td&gt;
  
                          &lt;td&gt;&lt;/td&gt;
  
                          &lt;td&gt;&lt;/td&gt;
  
                  &lt;/table&gt;     
  
              &lt;/div&gt; 
  
      &lt;/div&gt;  
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>